On November 4, 2019 4:02:07 AM UTC, Yousong Zhou <yszhou4t...@gmail.com> wrote: >On Mon, 4 Nov 2019 at 07:47, Paul Spooren <m...@aparcar.org> wrote: >> >> -SIGNATURE:=$(shell perl -e 'printf("%08x", rand(0xFFFFFFFF))') >> +SIGNATURE:=$(shell echo "$(SOURCE_DATE_EPOCH)" | sha256sum | cut -c >1-8 -z) > >Maybe just unify with other targets should be enough.
Or even better, provide reusable variable in some included makefile and use that instead? >target/linux/tegra/image/Makefile >10:SIGNATURE:=$(shell printf "%.8s" $(SOURCE_DATE_EPOCH)) > >target/linux/x86/image/Makefile >43:SIGNATURE:=$(shell perl -e 'printf("%08x", rand(0xFFFFFFFF))') > >target/linux/mvebu/image/Makefile >16:SIGNATURE:=$(shell printf "%.8s" $(SOURCE_DATE_EPOCH)) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel