summaryrefslogtreecommitdiff
path: root/target/jffs2/jffs2root.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2006-08-22 08:03:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2006-08-22 08:03:19 +0000
commitddcaf1444d2deedea506cd7076f75df2086f3234 (patch)
treebde498a49aba5fe600490311d5bd2b9ee2c5b96b /target/jffs2/jffs2root.mk
parent611b040535a7859406a006bec170197832500958 (diff)
mkfs.jffs2 doesn't like short form of pad option with arg
Diffstat (limited to 'target/jffs2/jffs2root.mk')
-rw-r--r--target/jffs2/jffs2root.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk
index 7640e63b9..f5622a8fb 100644
--- a/target/jffs2/jffs2root.mk
+++ b/target/jffs2/jffs2root.mk
@@ -7,9 +7,10 @@
JFFS2_OPTS := -e $(strip $(BR2_TARGET_ROOTFS_JFFS2_EBSIZE))
ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2_PAD)),y)
-JFFS2_OPTS += -p
ifneq ($(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE)),0x0)
-JFFS2_OPTS += $(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE))
+JFFS2_OPTS += --pad=$(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE))
+else
+JFFS2_OPTS += -p
endif
endif