at91: sama5d4: fix bad mkubifs options

Drop the "-x lzo" compression type override from MKUBIFS_OPTS since we
do not support it in mkfs.ubifs. Attempting to use LZO compression results
in "Error: bad compressor name".

The build system also appends an explicit "--compr=zlib" to the mkfs command
line, turning the "-x" flag into a no-op anyway.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
master
Jo-Philipp Wich 7 years ago
parent 56bd23cf52
commit aadca035bc
  1. 2
      target/linux/at91/image/sama5d4.mk

@ -13,7 +13,7 @@ define Device/at91-sama5d4_xplained
BLOCKSIZE := 256k BLOCKSIZE := 256k
PAGESIZE := 4096 PAGESIZE := 4096
SUBPAGESIZE := 2048 SUBPAGESIZE := 2048
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 248KiB -c 2082 -x lzo MKUBIFS_OPTS := -m $$(PAGESIZE) -e 248KiB -c 2082
$(Device/evaluation-sdimage) $(Device/evaluation-sdimage)
endef endef
TARGET_DEVICES += at91-sama5d4_xplained TARGET_DEVICES += at91-sama5d4_xplained

Loading…
Cancel
Save