Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 16 years ago
parent
commit
a6182fa3a7
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      package/base/linux/linux.conf

+ 6
- 4
package/base/linux/linux.conf

@ -538,17 +538,19 @@ main_lx_headers() {
patch -p1 --no-backup-if-mismatch < $x
done
# Some headers are installed in include/asm/, but are expected by others
# in include/asm-$lx_src_cpu. Fix by creating a symlink from include/asm
# to asm-$lx_src_cpu.
# Modifying the c #include directives is not strictly necessary.
versionhotfix 2.6.25.10
find include/ -type f | xargs -r sed -i "/include/ s,<asm/,<asm-$lx_src_cpu/,g"
mkdir -p dest/include/asm-$lx_src_cpu
ln -sv asm-$lx_src_cpu dest/include/asm
$MAKE mrproper
$MAKE INSTALL_HDR_PATH=dest headers_check
find dest/ -name '.check.*' | xargs rm -vf
versionhotfix 2.6.25.10
rm -f dest/include/asm
ln -sv asm-$lx_src_cpu dest/include/asm
mkdir -p $CLFS/$prefix/include
for x in $(ls dest/include/); do
rm -rf $CLFS/$prefix/include/$x

Loading…
Cancel
Save