forked from Ivasoft/openwrt
move platform specific base-files into target/linux/<targetname>
SVN-Revision: 5621
This commit is contained in:
12
target/linux/brcm-2.4/base-files.mk
Normal file
12
target/linux/brcm-2.4/base-files.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default)
|
||||
$(TARGET_CC) -I $(PLATFORM_DIR)/src -o $(PKG_BUILD_DIR)/jffs2root $(PLATFORM_DIR)/src/jffs2root.c
|
||||
endef
|
||||
|
||||
define Package/base-files/install-target
|
||||
rm -f $(1)/etc/config/network
|
||||
mkdir -p $(1)/sbin
|
||||
$(CP) $(PKG_BUILD_DIR)/jffs2root $(1)/sbin
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user