u-boot: support platform-independent patches
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 23 Apr 2008 14:52:38 +0000 (14:52 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 23 Apr 2008 14:52:38 +0000 (14:52 -0000)
Support platform independent patches (.patch) and use .patch.$ARCH for
platform dependent ones like elsewhere.

target/u-boot/Makefile.in

index 005d935c6f316f0b2642787851ad9700e36416d1..6ba5c0f10a1b528e5dbdc105b581f89d88ed33bc 100644 (file)
@@ -47,7 +47,8 @@ $(U_BOOT_DIR)/.unpacked: $(DL_DIR)/$(U_BOOT_SOURCE)
 
 $(U_BOOT_DIR)/.patched: $(U_BOOT_DIR)/.unpacked
        toolchain/patch-kernel.sh $(U_BOOT_DIR) target/u-boot/ \
-               u-boot-$(U_BOOT_VERSION)-$(BR2_ARCH)-\*.patch\*
+               u-boot-$(U_BOOT_VERSION)-\*.patch \
+               u-boot-$(U_BOOT_VERSION)-\*.patch.$(ARCH)
 ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH)),"")
        @mkdir -p $(U_BOOT_PATCH_DIR)
        cp -dpr $(BR2_TARGET_UBOOT_CUSTOM_PATCH) $(U_BOOT_PATCH_DIR)