system/mtd: drop Build/Prepare rule in favor of default one
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 6 Oct 2016 06:23:28 +0000 (09:23 +0300)
committerJohn Crispin <john@phrozen.org>
Sat, 15 Oct 2016 09:36:52 +0000 (11:36 +0200)
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
package/system/mtd/Makefile

index ae1922f..01277d9 100644 (file)
@@ -31,11 +31,6 @@ define Package/mtd/description
  older OpenWrt releases.
 endef
 
-define Build/Prepare
-       mkdir -p $(PKG_BUILD_DIR)
-       $(CP) ./src/* $(PKG_BUILD_DIR)/
-endef
-
 target=$(firstword $(subst -, ,$(BOARD)))
 
 MAKE_FLAGS += TARGET="$(target)"