build-style/void-cross: check for kernel-libc-headers/patches
The directory isn't always present, so add the same check as used in other stages of the build.
This commit is contained in:
parent
3304c6533f
commit
26d349303e
1 changed files with 5 additions and 3 deletions
|
@ -167,9 +167,11 @@ _void_cross_build_kernel_headers() {
|
||||||
msg_normal "Patching Linux headers for ${tgt}\n"
|
msg_normal "Patching Linux headers for ${tgt}\n"
|
||||||
|
|
||||||
cd ${wrksrc}/linux-${ver}
|
cd ${wrksrc}/linux-${ver}
|
||||||
for f in ${XBPS_SRCPKGDIR}/kernel-libc-headers/patches/*.patch; do
|
if [ -d "${XBPS_SRCPKGDIR}/kernel-libc-headers/patches" ]; then
|
||||||
_void_cross_apply_patch "$f"
|
for f in ${XBPS_SRCPKGDIR}/kernel-libc-headers/patches/*.patch; do
|
||||||
done
|
_void_cross_apply_patch "$f"
|
||||||
|
done
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
msg_normal "Building Linux headers for ${tgt}\n"
|
msg_normal "Building Linux headers for ${tgt}\n"
|
||||||
|
|
Loading…
Reference in a new issue