system/mtd: drop Build/Prepare rule in favor of default one

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
owl
Alexandru Ardelean 2016-10-06 09:23:28 +03:00 committed by John Crispin
parent fb789c4821
commit 8ecf7443a4
1 changed files with 0 additions and 5 deletions

View 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)"