ath79: fix parallel image generation for Zyxel NBG6716
This changes the image generation to use a unique directory. With parallel building it may occur that two concurrent jobs try to create an image which leds to errors. It also removes a needless subdirecory. Signed-off-by: André Valentin <avalentin@marcant.net>
This commit is contained in:
parent
eb00fb8f71
commit
766d1d675b
1 changed files with 4 additions and 5 deletions
|
@ -1,13 +1,12 @@
|
||||||
# attention: only zlib compression is allowed for the boot fs
|
# attention: only zlib compression is allowed for the boot fs
|
||||||
define Build/zyxel-buildkerneljffs
|
define Build/zyxel-buildkerneljffs
|
||||||
rm -rf $(KDIR_TMP)/zyxelnbg6716
|
mkdir -p $@.tmp/boot
|
||||||
mkdir -p $(KDIR_TMP)/zyxelnbg6716/image/boot
|
cp $@ $@.tmp/boot/vmlinux.lzma.uImage
|
||||||
cp $@ $(KDIR_TMP)/zyxelnbg6716/image/boot/vmlinux.lzma.uImage
|
|
||||||
$(STAGING_DIR_HOST)/bin/mkfs.jffs2 \
|
$(STAGING_DIR_HOST)/bin/mkfs.jffs2 \
|
||||||
--big-endian --squash-uids -v -e 128KiB -q -f -n -x lzma -x rtime \
|
--big-endian --squash-uids -v -e 128KiB -q -f -n -x lzma -x rtime \
|
||||||
-o $@ \
|
-o $@ \
|
||||||
-d $(KDIR_TMP)/zyxelnbg6716/image
|
-d $@.tmp
|
||||||
rm -rf $(KDIR_TMP)/zyxelnbg6716
|
rm -rf $@.tmp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/zyxel-factory
|
define Build/zyxel-factory
|
||||||
|
|
Loading…
Reference in a new issue