From: Peter Korsgaard Date: Fri, 28 Mar 2008 10:40:28 +0000 (-0000) Subject: AUTOTARGETS: also support non-version-dependent arch specific patches X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d3775e3cd5ff4e2a09ec1bb826c41925801a257;p=buildroot.git AUTOTARGETS: also support non-version-dependent arch specific patches --- diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index cffa204834..1243c35221 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -158,9 +158,9 @@ $(BUILD_DIR)/%/.stamp_patched: if test "$(wildcard $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER)*.patch*)"; then \ toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME) $(NAMEVER)\*.patch $(NAMEVER)\*.patch.$(ARCH) || exit 1; \ else \ - toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME) $($(PKG)_NAME)\*.patch || exit 1; \ + toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME) $($(PKG)_NAME)\*.patch $($(PKG)_NAME)\*.patch.$(ARCH) || exit 1; \ if test -d package/$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER); then \ - toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER) \*.patch || exit 1; \ + toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER) \*.patch \*.patch.$(ARCH) || exit 1; \ fi; \ fi; \ fi; \