diff options
author | cognet <cognet@FreeBSD.org> | 2006-01-20 00:46:44 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2006-01-20 00:46:44 +0000 |
commit | f32398d06cd4794224ffe2d76378aab7722ca8c3 (patch) | |
tree | e880c87c395a9286931fa4cf85fbc391d50d7026 /sys/conf/Makefile.arm | |
parent | 400b5b1afb54d877fd06c32d8d7128328448f0a8 (diff) | |
download | FreeBSD-src-f32398d06cd4794224ffe2d76378aab7722ca8c3.zip FreeBSD-src-f32398d06cd4794224ffe2d76378aab7722ca8c3.tar.gz |
Build a minimal pagetables, with only section mappings, mapped write through,
to speed up the decompression.
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 a68c123..ffe984b 100644 --- a/sys/conf/Makefile.arm +++ b/sys/conf/Makefile.arm @@ -77,9 +77,11 @@ ${KERNEL_KO}.tramp: ${KERNEL_KO} ${OBJCOPY} ${STRIP_FLAGS} ${KERNEL_KO}.tmp echo "#define KERNNAME \"${KERNEL_KO}.tmp.gz\"" \ >opt_kernname.h + eval $$(stat -s ${KERNEL_KO}.tmp) && \ + echo "#define KERNSIZE $$st_size" >>opt_kernname.h gzip -9 ${KERNEL_KO}.tmp eval $$(stat -s ${KERNEL_KO}.tmp.gz) && \ - echo "#define KERNSIZE $$st_size" >>opt_kernname.h + echo "#define KERNCOMPSIZE $$st_size" >>opt_kernname.h ${CC} -O2 -DKZIP -I. -c $S/kern/inflate.c -o inflate-tramp.o ${CC} -O -nostdlib -I. -Xlinker -T -Xlinker ldscript.$M.tramp \ -DKZIP $S/$M/$M/elf_trampoline.c inflate-tramp.o $S/$M/$M/inckern.S \ |