From: Ossy Date: Mon, 26 Jul 2010 20:45:48 +0000 (+0200) Subject: u-boot: fix custom patch dir handling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98d5a8bcd0e51cc4060d73bc238cf25ae8457869;p=buildroot.git u-boot: fix custom patch dir handling Signed-off-by: Ossy Signed-off-by: Peter Korsgaard --- diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk index 60a4676dc5..9eeea1d004 100644 --- a/boot/u-boot/u-boot.mk +++ b/boot/u-boot/u-boot.mk @@ -77,8 +77,8 @@ $(U_BOOT_DIR)/.patched: $(U_BOOT_DIR)/.unpacked toolchain/patch-kernel.sh $(U_BOOT_DIR) boot/u-boot \ u-boot-$(U_BOOT_VERSION)-\*.patch \ u-boot-$(U_BOOT_VERSION)-\*.patch.$(ARCH) -ifneq ($(qstrip $(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),) - toolchain/patch-kernel.sh $(U_BOOT_DIR) $(U_BOOT_CUSTOM_PATCH_DIR) u-boot-$(U_BOOT_VERSION)-\*.patch +ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),"") + toolchain/patch-kernel.sh $(U_BOOT_DIR) $(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR) u-boot-$(U_BOOT_VERSION)-\*.patch endif touch $@