浏览代码

U_BOOT_ARCH_PATCH_DIR should contain a value or should not be defined, empty string is not allowed

Ulf Samuelsson 16 年之前
父节点
当前提交
8a97f125ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      target/u-boot/Makefile.in

+ 1 - 1
target/u-boot/Makefile.in

@@ -88,7 +88,7 @@ $(U_BOOT_DIR)/.patched: $(U_BOOT_DIR)/.unpacked
 	toolchain/patch-kernel.sh $(U_BOOT_DIR) target/u-boot/$(U_BOOT_VERSION) \
 		u-boot-$(U_BOOT_VERSION)-\*.patch \
 		u-boot-$(U_BOOT_VERSION)-\*.patch.$(ARCH)
-ifneq ($(strip $(U_BOOT_ARCH_PATCH_DIR)),"")
+ifneq ($(strip $(U_BOOT_ARCH_PATCH_DIR)),)
 	toolchain/patch-kernel.sh $(U_BOOT_DIR) $(U_BOOT_ARCH_PATCH_DIR) \*.patch
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH)),"")