21 lines
395 B
Bash
21 lines
395 B
Bash
#!/cmd/rc
|
|
. $JEHANNE/arch/rc/lib/build/utils.rc
|
|
|
|
build bootlib.rc.build
|
|
|
|
$CC \
|
|
printstub.c \
|
|
boot$CONF.c \
|
|
$CFLAGS \
|
|
-L . \
|
|
-lboot \
|
|
-lip \
|
|
-lauth \
|
|
-ljehanne \
|
|
-static \
|
|
-o boot$CONF.elf.out
|
|
rm *.a
|
|
|
|
# the following line was here for no reason: nobody in kernel link it
|
|
#data2c ramfs_boot$ARCH^cpu_ ../boot/boot$CONF.elf.out >> ../$ARCH/autogenerated.c
|