mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
fix IDSDIR to make pciutils reproducible (issue #147)
This commit is contained in:
parent
27e35f6ef7
commit
2db3c33866
@ -11,23 +11,28 @@ pciutils_tar := pciutils-$(pciutils_version).tar.xz
|
|||||||
pciutils_url := https://www.kernel.org/pub/software/utils/pciutils/$(pciutils_tar)
|
pciutils_url := https://www.kernel.org/pub/software/utils/pciutils/$(pciutils_tar)
|
||||||
pciutils_hash := 64293c6ab9318c40ef262b76d87bd9097531759752bac556e50979b1e63cfe66
|
pciutils_hash := 64293c6ab9318c40ef262b76d87bd9097531759752bac556e50979b1e63cfe66
|
||||||
|
|
||||||
|
# IDSDIR must be set to a constant during the build,
|
||||||
|
# but not during the install to make the libpci.so.3
|
||||||
|
# reproducible. Otherwise the build path will be embedded
|
||||||
|
# in the library and executables.
|
||||||
|
|
||||||
pciutils_target := \
|
pciutils_target := \
|
||||||
$(MAKE_JOBS) \
|
$(MAKE_JOBS) \
|
||||||
CC="$(heads_cc)" \
|
CC="$(heads_cc)" \
|
||||||
ZLIB=no \
|
ZLIB=no \
|
||||||
HWDB=no \
|
HWDB=no \
|
||||||
SHARED=yes \
|
SHARED=yes \
|
||||||
|
IDSDIR=/ \
|
||||||
PREFIX=$(INSTALL) \
|
PREFIX=$(INSTALL) \
|
||||||
install \
|
|
||||||
&& \
|
&& \
|
||||||
$(MAKE) \
|
$(MAKE) \
|
||||||
-C $(build)/$(pciutils_dir) \
|
-C $(build)/$(pciutils_dir) \
|
||||||
$(MAKE_JOBS) \
|
|
||||||
CC="$(heads_cc)" \
|
CC="$(heads_cc)" \
|
||||||
ZLIB=no \
|
ZLIB=no \
|
||||||
HWDB=no \
|
HWDB=no \
|
||||||
SHARED=yes \
|
SHARED=yes \
|
||||||
PREFIX=$(INSTALL) \
|
PREFIX=$(INSTALL) \
|
||||||
|
install \
|
||||||
install-lib \
|
install-lib \
|
||||||
|
|
||||||
pciutils_output := \
|
pciutils_output := \
|
||||||
|
Loading…
Reference in New Issue
Block a user