From a81782a3f5dc08bb8d740acb1e6d361022f62f96 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Sun, 16 Apr 2017 01:53:27 +0300 Subject: [PATCH] trinity: add optional dependency on btrfs-progs Cc: Vicente Olivert Riera Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- package/trinity/trinity.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/trinity/trinity.mk b/package/trinity/trinity.mk index 4d4078d1e2..ee695fb54d 100644 --- a/package/trinity/trinity.mk +++ b/package/trinity/trinity.mk @@ -14,6 +14,10 @@ TRINITY_PATCH = https://github.com/kernelslacker/trinity/commit/b0e66a2d084ffc21 https://github.com/kernelslacker/trinity/commit/f447db18b389050ecc5e66dbf549d5953633e23e.patch \ https://github.com/kernelslacker/trinity/commit/87427256640f806710dd97fc807a9a896147c617.patch +ifeq ($(BR2_PACKAGE_BTRFS_PROGS),y) +TRINITY_DEPENDENCIES += btrfs-progs +endif + define TRINITY_CONFIGURE_CMDS (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure) endef -- 2.30.2