diff options
Diffstat (limited to 'target/linux/ath79/image/common-netgear.mk')
-rw-r--r-- | target/linux/ath79/image/common-netgear.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ath79/image/common-netgear.mk b/target/linux/ath79/image/common-netgear.mk index 956266ab2c..9b79936295 100644 --- a/target/linux/ath79/image/common-netgear.mk +++ b/target/linux/ath79/image/common-netgear.mk @@ -19,6 +19,16 @@ define Build/netgear-squashfs rm -rf $@.squashfs $@.fs endef +define Build/netgear-rootfs + mkimage \ + -A mips -O linux -T filesystem -C none \ + -M $(NETGEAR_KERNEL_MAGIC) \ + -n '$(VERSION_DIST) filesystem' \ + -d $(IMAGE_ROOTFS) $@.fs + cat $@.fs >> $@ + rm -rf $@.fs +endef + define Build/netgear-uImage $(call Build/uImage,$(1) -M $(NETGEAR_KERNEL_MAGIC)) endef |