toolchain : Create our own toolchain package to save 20% of build time.
shell : Enter a shell inside the chroot, used to tune lfs script
and / or during kernel upgrade to rebuild a new .config
+
+
+Options:
+ --target=[armv5tel|i586] : Cross-compile for this target architecture.
+ Uses the QEMU emulator if needed to virtualise
+ the desired target architecture.
+ Can be permanently set with TARGET_ARCH= in
+ .config.
# Include funtions
. tools/make-functions
-configure_target "default"
-
if [ -f .config ]; then
. .config
fi
+if [ -n "${TARGET_ARCH}" ]; then
+ configure_target "${TARGET_ARCH}"
+else
+ configure_target "default"
+fi
+
if [ -z $EDITOR ]; then
for i in nano emacs vi; do
EDITOR=$(which $i 2>/dev/null)