From b3dd642584db0570b4488db282415c3c74bdc26e Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sun, 25 Sep 2016 22:44:36 +0200
Subject: [PATCH] fstools: mark as nonshared and add missing PKG_CONFIG_DEPENDS

The fstools build depends on the CONFIG_NAND_SUPPORT flag, which is
target-specific.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
---
 package/system/fstools/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile
index 1254510f43..bbd2e6d76e 100644
--- a/package/system/fstools/Makefile
+++ b/package/system/fstools/Makefile
@@ -23,6 +23,9 @@ PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=
 
 PKG_USE_MIPS16:=0
+PKG_FLAGS:=nonshared
+
+PKG_CONFIG_DEPENDS := CONFIG_NAND_SUPPORT CONFIG_FSTOOLS_UBIFS_EXTROOT
 
 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 
-- 
GitLab