# HG changeset patch
# User Rob Landley
If you really want to learn how to cross compile a target system, this +is the script you want to read, and possibly append your own packages to. +That said: please don't, and here's why:
+Because cross-compiling is persnickety and difficult, we do as little of it as possible. This script should perform all the cross compiling anyone ever needs to do. It uses the cross-compiler to generate the simplest possible @@ -1025,6 +1029,12 @@
We unconditionally install the development files (headers and static libraries), and delete them later if $NATIVE_TOOLCHAIN isn't set.
+ +Right after installing the C library, we export the environment variable +$WRAPPER_TOPDIR which tells the compiler wrapper to links against the new +headers and shared libraries we've installed into the new root filesystem, +rather than the ones out of the cross compiler's include and lib +directories.
toybox - Build optional command line utilities.
@@ -1251,6 +1261,8 @@This section has some historical information. It describes the evolution of the firmware Linux build process, but hasn't been brought up to date in all the particulars.