Skip to contentSkip to conversation

svn commit: trunk/buildroot/package

Buildroot jacmet at uclibc.org 1 participant 1 message Mar 28, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-03-28 03:40:28 -0700 (Fri, 28 Mar 2008) New Revision: 21536

Log:
AUTOTARGETS: also support non-version-dependent arch specific patches

Modified:
trunk/buildroot/package/Makefile.autotools.in

Changeset:
Modified: trunk/buildroot/package/Makefile.autotools.in
===================================================================

buildroot/package/Makefile.autotools.in +2 -2
@@ -158,9 +158,9 @@
 	  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; \