aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-03-28 10:39:55 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-03-28 10:39:55 +0000
commit8b64a86e8c6ce20dd3ad4e57fb60480f771e556e (patch)
treef513a3dec48b0b9bb1f8a02a10b32675746e162c /package
parent60739c33d3e146e3254639cf917b9344a0ed9edc (diff)
downloadbuildroot-novena-8b64a86e8c6ce20dd3ad4e57fb60480f771e556e.tar.gz
buildroot-novena-8b64a86e8c6ce20dd3ad4e57fb60480f771e556e.zip
AUTOTARGETS: support arch specific *.patch.$(ARCH) patches
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.autotools.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 7b08be1a5..cffa20483 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -155,8 +155,8 @@ $(BUILD_DIR)/%/.stamp_patched:
$(if $($(PKG)_PATCH),toolchain/patch-kernel.sh $(@D) $(DL_DIR) $($(PKG)_PATCH))
$(Q)( \
if test -d $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME); then \
- if test "$(wildcard $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER)*.patch)"; then \
- toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME) $(NAMEVER)\*.patch || exit 1; \
+ 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; \
if test -d package/$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER); then \