Skip to content

Commit

Permalink
deb-pkg: Add all Makefiles to header package
Browse files Browse the repository at this point in the history
I discovered that make deb-pkg does not add Makefile_32.cpu from
arch/x86 directory when doing i386 kernel build and package build.
Fix it by greedily adding all Makefiles.

Reported-by: Witold Baryluk <[email protected]>
Signed-off-by: maximilian attems <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
brainflux authored and michal42 committed Jun 28, 2012
1 parent 6607dda commit 5f011d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package/builddeb
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ EOF
fi

# Build header package
(cd $srctree; find . -name Makefile -o -name Kconfig\* -o -name \*.pl > "$objtree/debian/hdrsrcfiles")
(cd $srctree; find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl > "$objtree/debian/hdrsrcfiles")
(cd $srctree; find arch/$SRCARCH/include include scripts -type f >> "$objtree/debian/hdrsrcfiles")
(cd $objtree; find arch/$SRCARCH/include .config Module.symvers include scripts -type f >> "$objtree/debian/hdrobjfiles")
destdir=$kernel_headers_dir/usr/src/linux-headers-$version
Expand Down

0 comments on commit 5f011d7

Please sign in to comment.