comparison sources/sections/linux-headers.sh @ 1663:8c8256e18ad2

Clean up some minor kernel version bit-rot.
author Rob Landley <rob@landley.net>
date Wed, 02 Jul 2014 20:04:18 -0500
parents ffa79617fb3f
children
comparison
equal deleted inserted replaced
1662:970b405bd6e6 1663:8c8256e18ad2
16 16
17 # Install Linux kernel headers (for use by uClibc). 17 # Install Linux kernel headers (for use by uClibc).
18 make -j $CPUS headers_install ARCH="${KARCH}" INSTALL_HDR_PATH="$STAGE_DIR" \ 18 make -j $CPUS headers_install ARCH="${KARCH}" INSTALL_HDR_PATH="$STAGE_DIR" \
19 $VERBOSITY && 19 $VERBOSITY &&
20 # This makes some very old package builds happy. 20 # This makes some very old package builds happy.
21 ln -s ../sys/user.h "$STAGE_DIR/include/asm/page.h" 21 [ ! -e "$STAGE_DIR/include/asm/page.h" ] &&
22 ln -sf ../sys/user.h "$STAGE_DIR/include/asm/page.h"
22 23
23 cleanup 24 cleanup
24 25
25 # Remove debris the kernel puts in there for no apparent reason. 26 # Remove debris the kernel puts in there for no apparent reason.
26 27