Skip to content

Commit

Permalink
f2fstools: set each library package VARIANT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cotequeiroz authored and nbd168 committed Nov 1, 2021
1 parent 67f9245 commit 93a42cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package/utils/f2fs-tools/Makefile
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=f2fs-tools
PKG_VERSION:=1.14.0
PKG_RELEASE:=1
PKG_RELEASE:=2

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/
Expand Down Expand Up @@ -85,6 +85,7 @@ define Package/libf2fs
DEPENDS:=+libuuid
ABI_VERSION:=6
CONFLICTS:=libf2fs-selinux
VARIANT:=default
endef

define Package/libf2fs-selinux
Expand All @@ -93,6 +94,7 @@ define Package/libf2fs-selinux
TITLE:=Library for Flash-Friendly File System (F2FS) tools with SELinux support
DEPENDS:=+libuuid +libselinux
ABI_VERSION:=6
VARIANT:=selinux
endef

CONFIGURE_ARGS += \
Expand Down

0 comments on commit 93a42cf

Please sign in to comment.