ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzma
Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 48589
This commit is contained in:
parent
6a42ee6517
commit
411515b368
1 changed files with 5 additions and 2 deletions
|
@ -22,7 +22,9 @@ define Build/netgear-squashfs
|
||||||
cp $@ $@.fs/image/uImage
|
cp $@ $@.fs/image/uImage
|
||||||
$(STAGING_DIR_HOST)/bin/mksquashfs-lzma \
|
$(STAGING_DIR_HOST)/bin/mksquashfs-lzma \
|
||||||
$@.fs $@.squashfs \
|
$@.fs $@.squashfs \
|
||||||
-noappend -root-owned -be -b 65536
|
-noappend -root-owned -be -b 65536 \
|
||||||
|
$(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH))
|
||||||
|
|
||||||
dd if=/dev/zero bs=1k count=1 >> $@.squashfs
|
dd if=/dev/zero bs=1k count=1 >> $@.squashfs
|
||||||
mkimage \
|
mkimage \
|
||||||
-A mips -O linux -T filesystem -C none \
|
-A mips -O linux -T filesystem -C none \
|
||||||
|
@ -2064,7 +2066,8 @@ define Image/Build/Netgear/buildkernel
|
||||||
cat $(KDIR_TMP)/vmlinux-$(2).uImage > $(KDIR_TMP)/$(2)/image/uImage
|
cat $(KDIR_TMP)/vmlinux-$(2).uImage > $(KDIR_TMP)/$(2)/image/uImage
|
||||||
$(STAGING_DIR_HOST)/bin/mksquashfs-lzma \
|
$(STAGING_DIR_HOST)/bin/mksquashfs-lzma \
|
||||||
$(KDIR_TMP)/$(2) $(KDIR_TMP)/vmlinux-$(2).uImage.squashfs.tmp1 \
|
$(KDIR_TMP)/$(2) $(KDIR_TMP)/vmlinux-$(2).uImage.squashfs.tmp1 \
|
||||||
-noappend -root-owned -be -b 65536
|
-noappend -root-owned -be -b 65536 \
|
||||||
|
$(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH))
|
||||||
( \
|
( \
|
||||||
cat $(KDIR_TMP)/vmlinux-$(2).uImage.squashfs.tmp1; \
|
cat $(KDIR_TMP)/vmlinux-$(2).uImage.squashfs.tmp1; \
|
||||||
dd if=/dev/zero bs=1k count=1 \
|
dd if=/dev/zero bs=1k count=1 \
|
||||||
|
|
Loading…
Reference in a new issue