Commit 0f54088a authored by Michal Marek's avatar Michal Marek

Merge branch 'kbuild/packaging' into kbuild/rc-fixes

parents c56eb8fb 9b4ce7bc
...@@ -238,12 +238,12 @@ EOF ...@@ -238,12 +238,12 @@ EOF
fi fi
# Build header package # Build header package
find . -name Makefile -o -name Kconfig\* -o -name \*.pl > /tmp/files$$ (cd $srctree; find . -name Makefile -o -name Kconfig\* -o -name \*.pl > /tmp/files$$)
find arch/x86/include include scripts -type f >> /tmp/files$$ (cd $srctree; find arch/$SRCARCH/include include scripts -type f >> /tmp/files$$)
(cd $objtree; find .config Module.symvers include scripts -type f >> /tmp/objfiles$$) (cd $objtree; find .config Module.symvers include scripts -type f >> /tmp/objfiles$$)
destdir=$kernel_headers_dir/usr/src/linux-headers-$version destdir=$kernel_headers_dir/usr/src/linux-headers-$version
mkdir -p "$destdir" mkdir -p "$destdir"
tar -c -f - -T /tmp/files$$ | (cd $destdir; tar -xf -) (cd $srctree; tar -c -f - -T /tmp/files$$) | (cd $destdir; tar -xf -)
(cd $objtree; tar -c -f - -T /tmp/objfiles$$) | (cd $destdir; tar -xf -) (cd $objtree; tar -c -f - -T /tmp/objfiles$$) | (cd $destdir; tar -xf -)
rm -f /tmp/files$$ /tmp/objfiles$$ rm -f /tmp/files$$ /tmp/objfiles$$
arch=$(dpkg --print-architecture) arch=$(dpkg --print-architecture)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment