mirror of https://github.com/hak5/openwrt-owl.git
parent
0476d261d0
commit
24cabede56
|
@ -36,7 +36,7 @@ endef
|
||||||
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||||
ifeq ($(CONFIG_TARGET_ROOTFS_JFFS2),y)
|
ifeq ($(CONFIG_TARGET_ROOTFS_JFFS2),y)
|
||||||
define Image/mkfs/jffs2/sub
|
define Image/mkfs/jffs2/sub
|
||||||
@# FIXME: removing this line will cause the foreach loop below to execute the next statement only on the first iteration, don't ask why ;)
|
# FIXME: removing this line will cause strange behaviour in the foreach loop below
|
||||||
$(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e $(patsubst %k,%KiB,$(1)) -o $(KDIR)/root.jffs2-$(1) -d $(BUILD_DIR)/root
|
$(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e $(patsubst %k,%KiB,$(1)) -o $(KDIR)/root.jffs2-$(1) -d $(BUILD_DIR)/root
|
||||||
$(call add_jffs2_mark,$(KDIR)/root.jffs2-$(1))
|
$(call add_jffs2_mark,$(KDIR)/root.jffs2-$(1))
|
||||||
$(call Image/Build,jffs2-$(1))
|
$(call Image/Build,jffs2-$(1))
|
||||||
|
|
Loading…
Reference in New Issue