mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
24 lines
525 B
Bash
Executable File
24 lines
525 B
Bash
Executable File
#!/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
|