f2fstools: set each library package VARIANT

Set the different libf2fs packages's VARIANT, so that the right settings
will be used by each different variant, if they are both being built.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2021-10-17 12:34:05 -03:00 committed by Felix Fietkau
parent 67f9245ee5
commit 93a42cf16e

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=f2fs-tools PKG_NAME:=f2fs-tools
PKG_VERSION:=1.14.0 PKG_VERSION:=1.14.0
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/ PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/
@ -85,6 +85,7 @@ define Package/libf2fs
DEPENDS:=+libuuid DEPENDS:=+libuuid
ABI_VERSION:=6 ABI_VERSION:=6
CONFLICTS:=libf2fs-selinux CONFLICTS:=libf2fs-selinux
VARIANT:=default
endef endef
define Package/libf2fs-selinux define Package/libf2fs-selinux
@ -93,6 +94,7 @@ define Package/libf2fs-selinux
TITLE:=Library for Flash-Friendly File System (F2FS) tools with SELinux support TITLE:=Library for Flash-Friendly File System (F2FS) tools with SELinux support
DEPENDS:=+libuuid +libselinux DEPENDS:=+libuuid +libselinux
ABI_VERSION:=6 ABI_VERSION:=6
VARIANT:=selinux
endef endef
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \