Added possible compilation improvement which utilizes all processor cores. This should be a significant improvement. I haven't tested this yet.
This commit is contained in:
parent
a86b6d4231
commit
77de2be60e
@ -17,6 +17,7 @@ sed -i "s/.*CONFIG_DEFAULT_HOSTNAME.*/CONFIG_DEFAULT_HOSTNAME=\"minimal\"/" .con
|
||||
# Compile the kernel
|
||||
# Good explanation of the different kernels
|
||||
# http://unix.stackexchange.com/questions/5518/what-is-the-difference-between-the-following-kernel-makefile-terms-vmlinux-vmlinux
|
||||
# TODO - Suggested by Ronny Kalusniok - test this for parallel compilation: "make bzImage -j $(grep ^processor /proc/cpuinfo)".
|
||||
make bzImage
|
||||
|
||||
cd ../../..
|
||||
|
@ -16,6 +16,7 @@ make defconfig
|
||||
sed -i "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" .config
|
||||
|
||||
# Compile busybox
|
||||
# TODO - Suggested by Ronny Kalusniok - test this for parallel compilation: "make busybox -j $(grep ^processor /proc/cpuinfo)".
|
||||
make busybox
|
||||
|
||||
# Create the symlinks for busybox
|
||||
|
Loading…
x
Reference in New Issue
Block a user