aboutsummaryrefslogtreecommitdiffstats
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
commit7170cf7ed0f2bb15ea7dfc17cb9a7008793f0697 (patch)
tree37127848db5503c73fc77a84045db18180fa08a5 /toolchain/binutils/Makefile
parent587fc039792981042611549257cec663d961febf (diff)
downloadupstream-7170cf7ed0f2bb15ea7dfc17cb9a7008793f0697.tar.gz
upstream-7170cf7ed0f2bb15ea7dfc17cb9a7008793f0697.tar.bz2
upstream-7170cf7ed0f2bb15ea7dfc17cb9a7008793f0697.zip
remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7752 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 e36758fe4c..902dae85a3 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 \