mirror of
https://github.com/drasko/codezero.git
synced 2026-02-27 01:03:14 +01:00
Remove the build driver shell scripts pending starting a new build system.
This commit is contained in:
35
buildall.sh
35
buildall.sh
@@ -1,35 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
rm -rf build
|
|
||||||
|
|
||||||
echo -e "\n--- Building External Libs --- "
|
|
||||||
cd libs/c
|
|
||||||
scons
|
|
||||||
cd ../elf
|
|
||||||
scons
|
|
||||||
cd ../..
|
|
||||||
echo -e "\n--- Building kernel --- "
|
|
||||||
scons configure
|
|
||||||
scons build
|
|
||||||
cd tasks
|
|
||||||
echo -e "\n--- Building libraries --- "
|
|
||||||
cd libmem
|
|
||||||
scons
|
|
||||||
cd ../libl4
|
|
||||||
scons
|
|
||||||
cd ../libposix
|
|
||||||
scons
|
|
||||||
echo -e "\n--- Building tasks --- "
|
|
||||||
cd ../mm0
|
|
||||||
scons
|
|
||||||
cd ../fs0
|
|
||||||
scons
|
|
||||||
cd ../test0
|
|
||||||
scons
|
|
||||||
echo -e "\n--- Building bootdesc ---"
|
|
||||||
cd ../bootdesc
|
|
||||||
scons
|
|
||||||
cd ../..
|
|
||||||
echo -e "\n--- Packing all up ---"
|
|
||||||
./packer.sh
|
|
||||||
echo -e "\n--- Build Completed ---\n"
|
|
||||||
23
packer.sh
23
packer.sh
@@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#Export symbols from kernel to loader's linker script
|
|
||||||
#Debuggers can use these symbols as a stop point for loading ksymtab before mmu is on.
|
|
||||||
./tools/ksym_to_lds.py
|
|
||||||
|
|
||||||
cp build/start.axf loader/
|
|
||||||
cp tasks/mm0/mm0.axf loader/
|
|
||||||
cp tasks/fs0/fs0.axf loader/
|
|
||||||
cp tasks/test0/test0.axf loader/
|
|
||||||
cp tasks/bootdesc/bootdesc.axf loader/
|
|
||||||
cd loader
|
|
||||||
scons -c
|
|
||||||
scons
|
|
||||||
cp final.axf ../build
|
|
||||||
|
|
||||||
if [ -n "$SAMBA_DIR" ]
|
|
||||||
then
|
|
||||||
cp final.axf $SAMBA_DIR
|
|
||||||
cp start.axf $SAMBA_DIR
|
|
||||||
fi
|
|
||||||
cd ../build
|
|
||||||
arm-none-eabi-objdump -d start.axf > start.txt
|
|
||||||
Reference in New Issue
Block a user