From: Bernhard Reutner-Fischer Date: Wed, 22 Aug 2007 16:19:10 +0000 (-0000) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72e402609c67650cef9c4f1d6e87ac223284ea39;p=buildroot.git --- diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 61b5fd16ba..69a6ac36fc 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -146,6 +146,7 @@ $(BUILD_DIR)/%/.stamp_extracted: $(BUILD_DIR)/%/.stamp_patched: NAMEVER = $($(PKG)_NAME)-$($(PKG)_VERSION) $(BUILD_DIR)/%/.stamp_patched: $(call MESSAGE,"Patching") + $(if $($(PKG)_PATCH),toolchain/patch-kernel.sh $(@D) $(DL_DIR) $($(PKG)_PATCH)) (if test -d package/$($(PKG)_NAME) ; then \ if test "$(wildcard package/$($(PKG)_NAME)/$(NAMEVER)*.patch)" ; then \ toolchain/patch-kernel.sh $(@D) package/$($(PKG)_NAME) $(NAMEVER)\*.patch || exit 1 ; \