X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5102d583edd3a4a5510216a3810ec0c5e9d07be4..ddade98e1046a6c701d0a96d97fb870d01c8c052:/toolchain/binutils/Makefile diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 4d7a22a03..902dae85a 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -18,19 +18,12 @@ PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/binutils/ \ PKG_SOURCE:=binutils-$(PKG_VERSION).tar.bz2 PKG_MD5SUM:=unknown -PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +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 \