tangled
alpha
login
or
join now
tjh.dev
/
kernel
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
Merge branch 'kbuild/packaging' into kbuild/rc-fixes
Michal Marek
15 years ago
0f54088a
c56eb8fb
+3
-3
1 changed file
expand all
collapse all
unified
split
scripts
package
builddeb
+3
-3
scripts/package/builddeb
···
238
238
fi
239
239
240
240
# Build header package
241
241
-
find . -name Makefile -o -name Kconfig\* -o -name \*.pl > /tmp/files$$
242
242
-
find arch/x86/include include scripts -type f >> /tmp/files$$
241
241
+
(cd $srctree; find . -name Makefile -o -name Kconfig\* -o -name \*.pl > /tmp/files$$)
242
242
+
(cd $srctree; find arch/$SRCARCH/include include scripts -type f >> /tmp/files$$)
243
243
(cd $objtree; find .config Module.symvers include scripts -type f >> /tmp/objfiles$$)
244
244
destdir=$kernel_headers_dir/usr/src/linux-headers-$version
245
245
mkdir -p "$destdir"
246
246
-
tar -c -f - -T /tmp/files$$ | (cd $destdir; tar -xf -)
246
246
+
(cd $srctree; tar -c -f - -T /tmp/files$$) | (cd $destdir; tar -xf -)
247
247
(cd $objtree; tar -c -f - -T /tmp/objfiles$$) | (cd $destdir; tar -xf -)
248
248
rm -f /tmp/files$$ /tmp/objfiles$$
249
249
arch=$(dpkg --print-architecture)