don't run the image prereq check if the image directory does not exist
[openwrt.git] / toolchain / binutils / Makefile
index e36758f..902dae8 100644 (file)
@@ -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 \
This page took 0.025353 seconds and 4 git commands to generate.