prereq: make existing binary check work for sdk as well
authorJonas Gorski <jonas.gorski@gmail.com>
Wed, 16 Aug 2023 09:22:30 +0000 (11:22 +0200)
committerJonas Gorski <jonas.gorski@gmail.com>
Sat, 26 Aug 2023 12:00:36 +0000 (14:00 +0200)
commitc1ef10c8d873254ce7c1f3019d821c4a87227474
tree2e9ba576fdcdd92cfdcdb11ade1c64e91a8ef676
parent67dacdd652538f2cf7e43a24c4b54694b96be284
prereq: make existing binary check work for sdk as well

To avoid replacing host built binaries with symlinks again, a check for
an appropriate stamp was added in 729909c07f ("prereq-build: do not
replace binaries with symlinks"). Unfortunately the stamp directory does
not exist in the SDK, so the fix was ineffective there.

This caused the packages builders to e.g. use the host tar again, which
in turn made the tarballs created different since it may lack
reproducibility fixes, or implement these differently, causing spurious
hash failures on source repository based packages.

Fix this by dropping the stamp dir check, and just check that the file
is usable.

Fixes: 729909c07f ("prereq-build: do not replace binaries with symlinks")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
include/prereq.mk