mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-22 08:09:41 +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_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 := \
|
||||
$(MAKE_JOBS) \
|
||||
CC="$(heads_cc)" \
|
||||
ZLIB=no \
|
||||
HWDB=no \
|
||||
SHARED=yes \
|
||||
IDSDIR=/ \
|
||||
PREFIX=$(INSTALL) \
|
||||
install \
|
||||
&& \
|
||||
$(MAKE) \
|
||||
-C $(build)/$(pciutils_dir) \
|
||||
$(MAKE_JOBS) \
|
||||
CC="$(heads_cc)" \
|
||||
ZLIB=no \
|
||||
HWDB=no \
|
||||
SHARED=yes \
|
||||
PREFIX=$(INSTALL) \
|
||||
install \
|
||||
install-lib \
|
||||
|
||||
pciutils_output := \
|
||||
|
Loading…
Reference in New Issue
Block a user