Mercurial > hg > aboriginal
diff mini-native.sh @ 387:f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
The miniconfigs are no longer stored as "here" documents, but separate files,
meaning they don't need to be copied into build/temp-$ARCH and are easier
to use/update/compare. The remaining data goes in a "details" file for
each architecture.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 12 Aug 2008 02:33:29 -0500 |
parents | ed4caa451355 |
children | becb1084a427 |
line wrap: on
line diff
--- a/mini-native.sh Mon Aug 11 03:54:24 2008 -0500 +++ b/mini-native.sh Tue Aug 12 02:33:29 2008 -0500 @@ -27,7 +27,8 @@ # Install Linux kernel headers (for use by uClibc). make headers_install -j "$CPUS" ARCH="${KARCH}" INSTALL_HDR_PATH="${TOOLS}" && # build bootable kernel for target -make ARCH="${KARCH}" allnoconfig KCONFIG_ALLCONFIG="${WORK}/miniconfig-linux" && +make ARCH="${KARCH}" KCONFIG_ALLCONFIG="${CONFIG_DIR}/miniconfig-linux" \ + allnoconfig && make -j $CPUS ARCH="${KARCH}" CROSS_COMPILE="${ARCH}-" && cp "${KERNEL_PATH}" "${WORK}/zImage-${ARCH}" && cd .. @@ -38,7 +39,7 @@ # toolchain, but this is cleaner.) setupfor uClibc -make allnoconfig KCONFIG_ALLCONFIG="${WORK}/miniconfig-uClibc" && +make KCONFIG_ALLCONFIG="${CONFIG_DIR}/miniconfig-uClibc" allnoconfig && # Can't use -j here, build is unstable. make CROSS="${ARCH}-" KERNEL_HEADERS="${TOOLS}/include" PREFIX="${TOOLS}/" \ RUNTIME_PREFIX=/ DEVEL_PREFIX=/ UCLIBC_LDSO_NAME=ld-uClibc \