summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files.mk
blob: 9a2e365b677c66775b2eba670497ed4a3abbabfc (plain)
1
2
3
4
5
6
7
8
9
10
11
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