atheepmgr: avoid libpciaccess dependency 15435/head
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 15 Apr 2021 20:03:35 +0000 (17:03 -0300)
committerEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 15 Apr 2021 20:26:37 +0000 (17:26 -0300)
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>
utils/atheepmgr/Makefile

index fc0283ffa24bb74e8b14e1dfe1e9bb657b51b138..bb695668dfff7985ed3489955bf6ac840de8d586 100644 (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