summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssy <ossy1980@gmx.net>2010-07-26 20:45:48 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-07-26 20:45:48 (GMT)
commit98d5a8bcd0e51cc4060d73bc238cf25ae8457869 (patch)
treef3f461bec0eaf446c583e077e32404e38cf4383e
parent39e6ba1b39de98e445f0d4694567a232cfc42332 (diff)
downloadbuildroot-98d5a8bcd0e51cc4060d73bc238cf25ae8457869.tar.gz
buildroot-98d5a8bcd0e51cc4060d73bc238cf25ae8457869.tar.bz2
u-boot: fix custom patch dir handling
Signed-off-by: Ossy <ossy1980@gmx.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--boot/u-boot/u-boot.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk
index 60a4676..9eeea1d 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 $@