linux4.14-headers: include objtool only for the supported architecture (x86_64)
Closes: #9335 [via git-merge-pr]
This commit is contained in:
parent
c7a5b962cb
commit
706661b2f3
@ -236,8 +236,12 @@ do_install() {
|
|||||||
cp fs/xfs/libxfs/xfs_sb.h ${hdrdest}/fs/xfs/libxfs/xfs_sb.h
|
cp fs/xfs/libxfs/xfs_sb.h ${hdrdest}/fs/xfs/libxfs/xfs_sb.h
|
||||||
|
|
||||||
# Add objtool binary, needed to build external modules with dkms
|
# Add objtool binary, needed to build external modules with dkms
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
x86_64*)
|
||||||
mkdir -p ${hdrdest}/tools/objtool
|
mkdir -p ${hdrdest}/tools/objtool
|
||||||
cp tools/objtool/objtool ${hdrdest}/tools/objtool
|
cp tools/objtool/objtool ${hdrdest}/tools/objtool
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Copy in Kconfig files
|
# Copy in Kconfig files
|
||||||
for i in $(find . -name "Kconfig*"); do
|
for i in $(find . -name "Kconfig*"); do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user