kernel/trelay: drop Build/Prepare rule in favor of default one

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean 2016-10-06 09:39:01 +03:00 committed by John Crispin
parent 9168abe8b5
commit e09ff19752

View file

@ -31,11 +31,6 @@ endef
include $(INCLUDE_DIR)/kernel-defaults.mk include $(INCLUDE_DIR)/kernel-defaults.mk
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
cp src/Makefile src/trelay.c $(PKG_BUILD_DIR)/
endef
define Build/Compile define Build/Compile
$(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
endef endef