baremetal: build userland/ programs using baremetal path property instead of symlinks

Otherwise I'll go crazy with symlink action.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-24 00:00:00 +00:00
parent edfbe9f0d7
commit 05aa5c7c79
49 changed files with 372 additions and 271 deletions

View File

@@ -1,5 +1,5 @@
#include <lkmc/m5ops.h>
.global mystart
mystart:
.global lkmc_start
lkmc_start:
LKMC_M5OPS_EXIT_ASM

View File

@@ -1,7 +1,7 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#semihosting */
.global mystart
mystart:
.global lkmc_start
lkmc_start:
mov x1, 0x26
movk x1, 2, lsl 16
ldr x2, =semihost_args

View File

@@ -1,3 +1,3 @@
.global mystart
mystart:
.global lkmc_start
lkmc_start:
mov r0, #0; mov r1, #0; .inst 0xEE000110 | (0x21 << 16);

View File

@@ -1,5 +1,5 @@
.global mystart
mystart:
.global lkmc_start
lkmc_start:
mov r0, #0x18
ldr r1, =#0x20026
svc 0x00123456