summaryrefslogtreecommitdiffstats
path: root/target/linux/image
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/image')
-rw-r--r--target/linux/image/Makefile4
-rw-r--r--target/linux/image/soekris/Makefile10
2 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/image/Makefile b/target/linux/image/Makefile
index 73e67a3d1..6509952fa 100644
--- a/target/linux/image/Makefile
+++ b/target/linux/image/Makefile
@@ -14,6 +14,10 @@ ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS_LZMA),y)
include ./squashfs.mk
endif
+ifeq ($(BR2_TARGET_ROOTFS_TGZ),y)
+include ./tgz.mk
+endif
+
prepare:
compile:
install:
diff --git a/target/linux/image/soekris/Makefile b/target/linux/image/soekris/Makefile
new file mode 100644
index 000000000..bfb2770ef
--- /dev/null
+++ b/target/linux/image/soekris/Makefile
@@ -0,0 +1,10 @@
+include $(TOPDIR)/rules.mk
+
+KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
+
+$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tar.gz: $(KDIR)/rootfs.tar.gz
+ cp $^ $@
+
+prepare:
+compile:
+install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tar.gz