diff options
author | cognet <cognet@FreeBSD.org> | 2006-06-18 22:46:30 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2006-06-18 22:46:30 +0000 |
commit | a32f908e29c1ba02314fc9ee560d6c2492d8ac7c (patch) | |
tree | 3e74466f55a70e607d5fed7ce316b17e9eb9a6fd /sys/conf | |
parent | 80d29aa8a846516f97ff083705921f9b1b6387de (diff) | |
download | FreeBSD-src-a32f908e29c1ba02314fc9ee560d6c2492d8ac7c.zip FreeBSD-src-a32f908e29c1ba02314fc9ee560d6c2492d8ac7c.tar.gz |
Make sure the stack is properly aligned.
Enable the MMU when relocating as well, and use write-through cache.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.arm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index db02b3c..218beda 100644 --- a/sys/conf/Makefile.arm +++ b/sys/conf/Makefile.arm @@ -64,7 +64,7 @@ FILES_CPU_FUNC = $S/$M/$M/cpufunc_asm_arm7tdmi.S \ $S/$M/$M/cpufunc_asm_sa1.S $S/$M/$M/cpufunc_asm_arm10.S \ $S/$M/$M/cpufunc_asm_xscale.S $S/$M/$M/cpufunc_asm.S trampoline: ${KERNEL_KO}.tramp -${KERNEL_KO}.tramp: ${KERNEL_KO} +${KERNEL_KO}.tramp: ${KERNEL_KO} $S/$M/$M/inckern.S $S/$M/$M/elf_trampoline.c echo "#define KERNNAME \"${KERNEL_KO}.tmp\"" >opt_kernname.h sed s/${KERNVIRTADDR}/${KERNPHYSADDR}/ ldscript.$M > ldscript.$M.tramp sed s/" + SIZEOF_HEADERS"// ldscript.$M.tramp > \ @@ -74,9 +74,10 @@ ${KERNEL_KO}.tramp: ${KERNEL_KO} eval $$(stat -s ${KERNEL_KO}.tmp) && \ echo "#define KERNSIZE $$st_size" >>opt_kernname.h ${CC} -O -nostdlib -I. -Xlinker -T -Xlinker ldscript.$M.tramp \ - $S/$M/$M/elf_trampoline.c $S/$M/$M/inckern.S -o ${KERNEL_KO}.tramp + $S/$M/$M/elf_trampoline.c $S/$M/$M/inckern.S ${FILES_CPU_FUNC} \ + -o ${KERNEL_KO}.tramp ${CC} -O -nostdlib -I. -Xlinker -T -Xlinker ldscript.$M.tramp.noheader \ - $S/$M/$M/elf_trampoline.c $S/$M/$M/inckern.S -o \ + $S/$M/$M/elf_trampoline.c $S/$M/$M/inckern.S ${FILES_CPU_FUNC} -o \ ${KERNEL_KO}.tramp.noheader ${OBJCOPY} -S -O binary ${KERNEL_KO}.tramp.noheader \ ${KERNEL_KO}.tramp.bin |