summaryrefslogtreecommitdiff
path: root/toolchain/binutils/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-28 07:20:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-28 07:20:42 +0000
commita81db04ee6bd7e051f42ddb67d5b132486a47cd4 (patch)
tree23033a1d703c5d37c81d7f6570b532a6d4130124 /toolchain/binutils/Makefile
parentf6a92d6ffec89b1e411a1d53b9e55e3cd9583836 (diff)
downloadmtk-20170518-a81db04ee6bd7e051f42ddb67d5b132486a47cd4.zip
mtk-20170518-a81db04ee6bd7e051f42ddb67d5b132486a47cd4.tar.gz
mtk-20170518-a81db04ee6bd7e051f42ddb67d5b132486a47cd4.tar.bz2
remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches using quilt
SVN-Revision: 7752
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r--toolchain/binutils/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index e36758f..902dae8 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -20,17 +20,10 @@ PKG_SOURCE:=binutils-$(PKG_VERSION).tar.bz2
PKG_MD5SUM:=unknown
PKG_BUILD_DIR:=$(TOOLCHAIN_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_CAT:=bzcat
+PATCH_DIR:=./patches/$(PKG_VERSION)
include $(INCLUDE_DIR)/host-build.mk
-
-define Build/Prepare
- $(call Build/Prepare/Default)
- if [ -d ./patches/$(PKG_VERSION) ]; then \
- $(SCRIPT_DIR)/patch-kernel.sh $(PKG_BUILD_DIR) ./patches/$(PKG_VERSION); \
- fi
-endef
-
define Build/Configure
(cd $(PKG_BUILD_DIR); \
./configure \