atheepmgr: avoid libpciaccess dependency

HAVE_LIBPCIACCESS that is currently passed through MAKE_VARS to disable
building with libpciaccess can't be set through the environment.
Instead, use CONFIG_CON_PCI, which can be passed through the environment
and will disable libpciaccess.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2021-04-15 17:03:35 -03:00
parent f4a231cdf5
commit 5283711754
No known key found for this signature in database
GPG Key ID: 5FB9FAF260B80AEA
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=atheepmgr
PKG_VERSION:=2.1.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_VERSION:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_PROTO:=git
@ -60,7 +60,7 @@ endef
MAKE_VARS += \
OS=Linux \
HAVE_LIBPCIACCESS=n \
CONFIG_CON_PCI=n \
CONFIG_I_KNOW_WHAT_I_AM_DOING=$(CONFIG_ATHEEPMGR_DANGEROUS_FUNCTIONS) \
define Package/atheepmgr/install