diff options
| author | Olivier Houchard <cognet@FreeBSD.org> | 2006-06-12 22:58:50 +0000 |
|---|---|---|
| committer | Olivier Houchard <cognet@FreeBSD.org> | 2006-06-12 22:58:50 +0000 |
| commit | ee8ecea34b81d67e033ead8bbadf14996f748e31 (patch) | |
| tree | 7e3daccc8b69c0e3ca895ce43f63acdaebb9b857 /sys/conf/Makefile.arm | |
| parent | 9464ffd0a4d64494027e4c544975fdffaef5405a (diff) | |
Notes
Diffstat (limited to 'sys/conf/Makefile.arm')
| -rw-r--r-- | sys/conf/Makefile.arm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index 9a8ea46a400d..db02b3ccb5a0 100644 --- a/sys/conf/Makefile.arm +++ b/sys/conf/Makefile.arm @@ -62,7 +62,7 @@ SYSTEM_LD_TAIL +=;sed s/" + SIZEOF_HEADERS"// ldscript.$M\ FILES_CPU_FUNC = $S/$M/$M/cpufunc_asm_arm7tdmi.S \ $S/$M/$M/cpufunc_asm_arm8.S $S/$M/$M/cpufunc_asm_arm9.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_xscale.S $S/$M/$M/cpufunc_asm.S trampoline: ${KERNEL_KO}.tramp ${KERNEL_KO}.tramp: ${KERNEL_KO} echo "#define KERNNAME \"${KERNEL_KO}.tmp\"" >opt_kernname.h @@ -71,6 +71,8 @@ ${KERNEL_KO}.tramp: ${KERNEL_KO} ldscript.$M.tramp.noheader ${OBJCOPY} --strip-symbol '$$d' --strip-symbol '$$a' \ -g --strip-symbol '$$t' ${FULLKERNEL} ${KERNEL_KO}.tmp + 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 ${CC} -O -nostdlib -I. -Xlinker -T -Xlinker ldscript.$M.tramp.noheader \ |
