diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-24 23:18:08 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-24 23:18:08 +0000 |
commit | 28f4689413206f9943e5a6c2f93689e66ef24f04 (patch) | |
tree | 84e616e57cd975dde2282eddf57ffbf03950d21f /target/jffs2/jffs2root.mk | |
parent | 77a3b8679c1d662195453eafb23b3d3b2c01ede4 (diff) | |
download | buildroot-novena-28f4689413206f9943e5a6c2f93689e66ef24f04.tar.gz buildroot-novena-28f4689413206f9943e5a6c2f93689e66ef24f04.zip |
- Additional JFFS2 options to support Dataflash (Ulf Samuelsson)
- cleanup a bit while at it
Diffstat (limited to 'target/jffs2/jffs2root.mk')
-rw-r--r-- | target/jffs2/jffs2root.mk | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk index f5622a8fb..db0489d9a 100644 --- a/target/jffs2/jffs2root.mk +++ b/target/jffs2/jffs2root.mk @@ -14,20 +14,29 @@ JFFS2_OPTS += -p endif endif -ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2_SQUASH)),y) +ifeq ($(BR2_TARGET_ROOTFS_JFFS2_SQUASH),y) JFFS2_OPTS += -q endif -ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2_LE)),y) +ifeq ($(BR2_TARGET_ROOTFS_JFFS2_LE),y) JFFS2_OPTS += -l endif -ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2_BE)),y) +ifeq ($(BR2_TARGET_ROOTFS_JFFS2_BE),y) JFFS2_OPTS += -b endif -JFFS2_TARGET := $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_OUTPUT)) +ifneq ($(BR2_TARGET_ROOTFS_JFFS2_DEFAULT_PAGESIZE),y) +JFFS2_OPTS += -s $(BR2_TARGET_ROOTFS_JFFS2_PAGESIZE) +ifeq ($(BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER),y) +JFFS2_OPTS += -n +endif +endif + +JFFS2_TARGET := $(strip $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_OUTPUT))) +#")) JFFS2_DEVFILE = $(strip $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_DEVFILE))) +#")) ifneq ($(JFFS2_DEVFILE),) JFFS2_OPTS += -D $(TARGET_DEVICE_TABLE) endif @@ -62,7 +71,7 @@ $(JFFS2_TARGET): host-fakeroot makedevs mtd-host @ls -l $(JFFS2_TARGET) JFFS2_COPYTO := $(strip $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_COPYTO))) -# " stupid syntax highlighting does not like unmatched quote from above line +#")) jffs2root: $(JFFS2_TARGET) ifneq ($(JFFS2_COPYTO),) |