mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
baremetal: build userland/ programs using baremetal path property instead of symlinks
Otherwise I'll go crazy with symlink action.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <lkmc.h>
|
||||
|
||||
.global mystart
|
||||
mystart:
|
||||
.global lkmc_start
|
||||
lkmc_start:
|
||||
/* Prepare the stack for main, mandatory for C code. */
|
||||
ldr sp, =stack_top
|
||||
|
||||
@@ -10,6 +10,7 @@ mystart:
|
||||
bl on_exit
|
||||
|
||||
/* Run main. */
|
||||
mov r0, 0
|
||||
bl main
|
||||
|
||||
/* If main returns, exit. */
|
||||
|
||||
Reference in New Issue
Block a user