|
|
|
@ -532,23 +532,23 @@ main_lx() { |
|
|
|
main_lx_headers() { |
|
|
|
lx_source |
|
|
|
|
|
|
|
for x in $confdir/linux26-hdrs/*.patch; do |
|
|
|
[ -f $x ] || continue |
|
|
|
echo "Applying linux userspace headers patch $x.." |
|
|
|
patch -p1 --no-backup-if-mismatch < $x |
|
|
|
done |
|
|
|
|
|
|
|
versionhotfix 2.6.25 |
|
|
|
find include/ -type f | xargs -r sed -i "/include/ s,<asm/,<asm-$lx_src_cpu/,g" |
|
|
|
|
|
|
|
$MAKE mrproper |
|
|
|
$MAKE INSTALL_HDR_PATH=dest headers_check |
|
|
|
find dest/ -name '.check.*' | xargs rm -vf |
|
|
|
|
|
|
|
versionhotfix 2.6.25 |
|
|
|
rm -f dest/include/asm |
|
|
|
ln -sv asm-$lx_src_cpu dest/include/asm |
|
|
|
|
|
|
|
for x in $confdir/linux26-hdrs/*.patch; do |
|
|
|
[ -f $x ] || continue |
|
|
|
echo "Applying linux userspace headers patch $x.." |
|
|
|
( cd dest/include && patch -p1 --no-backup-if-mismatch < $x; ) |
|
|
|
done |
|
|
|
|
|
|
|
rm -rf dest/include/scsi |
|
|
|
mkdir -p $CLFS/$prefix/include |
|
|
|
for x in $(ls dest/include/); do |
|
|
|
rm -rf $CLFS/$prefix/include/$x |
|
|
|
|