modify file names and create directories
This commit is contained in:
10
kernel/script/mkimage.attached-mic
Normal file
10
kernel/script/mkimage.attached-mic
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
O=`pwd`
|
||||
|
||||
make -C $3/../kboot O=$O clean
|
||||
make -C $3/../kboot O=$O KIMAGE="$O/$1" LOAD_PA=0x401000 CC=${CC} LD=${LD} LDFLAGS="${LDFLAGS}"
|
||||
|
||||
cp kboot/kboot.elf $2
|
||||
12
kernel/script/mkimage.builtin-x86
Normal file
12
kernel/script/mkimage.builtin-x86
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
O=`pwd`
|
||||
|
||||
make -C $3/../kboot O=$O clean
|
||||
#make -C $3/../kboot O=$O KIMAGE="$O/$1" LOAD_PA=0x3a001000
|
||||
make -C $3/../kboot O=$O KIMAGE="$O/$1" LOAD_PA=0x101001000
|
||||
#make -C $3/../kboot O=$O KIMAGE="$O/$1" LOAD_PA=0x901001000
|
||||
|
||||
cat $3/../elfboot/elfboot kboot/kboot.elf > $2
|
||||
Reference in New Issue
Block a user