linux: clean up firmware dependecies

The fw packages are accessed using get_build_dir(), so move then to
PKG_DEPENDS_UNPACK.
This commit is contained in:
Andre Heider 2019-12-04 09:35:23 +01:00
parent 748d7e78de
commit a02a10d263
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,6 @@ KERNEL_NAME="${KERNEL_NAME:-KERNEL}"
LINUX_DEPENDS="${PROJECT_DIR}/${PROJECT}/linux ${PROJECT_DIR}/${PROJECT}/patches/linux ${PROJECT_DIR}/${PROJECT}/packages/linux ${ROOT}/packages/linux"
[ -n "${DEVICE}" ] && LINUX_DEPENDS+=" ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/linux ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/patches/linux ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/packages/linux"
[ "${TARGET_ARCH}" = "x86_64" ] && LINUX_DEPENDS+=" ${ROOT}/packages/linux-firmware/intel-ucode ${ROOT}/packages/linux-firmware/kernel-firmware"
# Need to point to your actual cc
# If you have ccache installed, take care that LOCAL_CC does not point to it

View File

@ -50,7 +50,8 @@ if [ "$PKG_BUILD_PERF" != "no" ] && grep -q ^CONFIG_PERF_EVENTS= $PKG_KERNEL_CFG
fi
if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET intel-ucode:host kernel-firmware elfutils:host pciutils"
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET elfutils:host pciutils"
PKG_DEPENDS_UNPACK+=" intel-ucode kernel-firmware"
fi
if [[ "$KERNEL_TARGET" = uImage* ]]; then