Commit ddcaf144 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

mkfs.jffs2 doesn't like short form of pad option with arg

parent 611b0405
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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