From 629ca9dd613c7f1265cc9a6bb4f1250278f7f3f4 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Fri, 6 Dec 2019 09:25:08 +0100 Subject: [PATCH] u-boot: this is not a kernel package Remove PKG_IS_KERNEL_PKG since this is not building kernel modules. Add the kernel toolchain as dependency instead. --- packages/tools/u-boot/package.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/tools/u-boot/package.mk b/packages/tools/u-boot/package.mk index 57b0c8f552..2a25d62d40 100644 --- a/packages/tools/u-boot/package.mk +++ b/packages/tools/u-boot/package.mk @@ -9,9 +9,10 @@ PKG_SITE="https://www.denx.de/wiki/U-Boot" PKG_DEPENDS_TARGET="toolchain Python3:host swig:host" PKG_LONGDESC="Das U-Boot is a cross-platform bootloader for embedded systems." -PKG_IS_KERNEL_PKG="yes" PKG_STAMP="$UBOOT_SYSTEM $UBOOT_TARGET" +[ -n "$KERNEL_TOOLCHAIN" ] && PKG_DEPENDS_TARGET+=" gcc-arm-$KERNEL_TOOLCHAIN:host" + if [ -n "$UBOOT_FIRMWARE" ]; then PKG_DEPENDS_TARGET+=" $UBOOT_FIRMWARE" PKG_DEPENDS_UNPACK+=" $UBOOT_FIRMWARE"