changeset 540:d0b059fd91a8

Link include/asm/page.h to include/sys/user.h, in case people try to build old packages.
author Rob Landley <rob@landley.net>
date Sun, 14 Dec 2008 04:13:44 -0600
parents 85979aa53fde
children 3abcea34485c
files cross-compiler.sh mini-native.sh
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cross-compiler.sh	Sun Dec 14 03:31:48 2008 -0600
+++ b/cross-compiler.sh	Sun Dec 14 04:13:44 2008 -0600
@@ -82,6 +82,8 @@
 setupfor linux &&
 # Install Linux kernel headers (for use by uClibc).
 make -j $CPUS headers_install ARCH="${KARCH}" INSTALL_HDR_PATH="${CROSS}" &&
+# This makes some very old package builds happy.
+ln -s ../sys/user.h "${CROSS}/include/asm/page.h" &&
 cd ..
 
 cleanup linux
--- a/mini-native.sh	Sun Dec 14 03:31:48 2008 -0600
+++ b/mini-native.sh	Sun Dec 14 04:13:44 2008 -0600
@@ -39,6 +39,8 @@
 setupfor linux
 # Install Linux kernel headers (for use by uClibc).
 make headers_install -j "$CPUS" ARCH="${KARCH}" INSTALL_HDR_PATH="${TOOLS}" &&
+# This makes some very old package builds happy.
+ln -s ../sys/user.h "${TOOLS}/include/asm/page.h" &&
 # build bootable kernel for target
 make ARCH="${KARCH}" KCONFIG_ALLCONFIG="$(getconfig linux)" allnoconfig &&
 cp .config "${TOOLS}"/src/config-linux &&