mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
build-baremetal: enable parallel build and target selection just like build-userland
The factoring out also led to some small bugs being found and solved ;-)
This commit is contained in:
3
lkmc.h
3
lkmc.h
@@ -4,12 +4,13 @@
|
||||
#define LKMC_H
|
||||
|
||||
/* Common C definitions. */
|
||||
#define LKMC_UNUSED(x) (void)x
|
||||
|
||||
#if !defined(__ASSEMBLER__)
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void lkmc_assert(bool);
|
||||
void lkmc_assert_fail();
|
||||
void lkmc_baremetal_on_exit_callback(int status, void *arg);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user