mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 23:37:53 +00:00
trivial: debian: disable msr plugin on all !x86
Fixes build failure on arm64 and armhf
This commit is contained in:
parent
80212a3d0b
commit
e6154b3425
@ -26,6 +26,10 @@ else
|
|||||||
export FLASHROM=-Dplugin_flashrom=true
|
export FLASHROM=-Dplugin_flashrom=true
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
export MSR=-Dplugin_msr=false
|
||||||
|
ifeq ("$(DEB_HOST_ARCH)",$(filter $(DEB_HOST_ARCH),i386 amd64))
|
||||||
|
export MSR=-Dplugin_msr=true
|
||||||
|
endif
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --with gir
|
dh $@ --with gir
|
||||||
@ -44,11 +48,11 @@ override_dh_auto_configure:
|
|||||||
export DELL="-Dplugin_dell=false"; \
|
export DELL="-Dplugin_dell=false"; \
|
||||||
fi; \
|
fi; \
|
||||||
if pkg-config --exists efivar; then \
|
if pkg-config --exists efivar; then \
|
||||||
export UEFI="-Dplugin_uefi=true -Dplugin_redfish=true -Dplugin_nvme=true -Dplugin_msr=true"; \
|
export UEFI="-Dplugin_uefi=true -Dplugin_redfish=true -Dplugin_nvme=true"; \
|
||||||
else \
|
else \
|
||||||
export UEFI="-Dplugin_uefi=false -Dplugin_redfish=false -Dplugin_nvme=false -Dplugin_msr=false"; \
|
export UEFI="-Dplugin_uefi=false -Dplugin_redfish=false -Dplugin_nvme=false"; \
|
||||||
fi; \
|
fi; \
|
||||||
dh_auto_configure -- $$UEFI $$DELL $$FLASHROM $$CI -Dplugin_dummy=true -Dgtkdoc=true -Dsupported_build=true
|
dh_auto_configure -- $$UEFI $$DELL $$FLASHROM $$MSR $$CI -Dplugin_dummy=true -Dgtkdoc=true -Dsupported_build=true
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
find debian/tmp/usr -type f -name "*a" -print | xargs rm -f
|
find debian/tmp/usr -type f -name "*a" -print | xargs rm -f
|
||||||
|
Loading…
Reference in New Issue
Block a user