From ff6f45b68a15c4bf33ab401e4864205e2a57a066 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 15 Nov 2015 10:11:45 +0100 Subject: add new ADK Symbol PKG_NEEDS There are a lot of packages which needs special features either toolchain or hardware features. Add a new symbol which will be used to disable packages, when a toolchain for example does not provide this feature. At the moment following features are required to set for a package: threads rt c++. There will follow: mmu iconv. This will help to better support targets without MMU or threading support. --- package/swconfig/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/swconfig') diff --git a/package/swconfig/Makefile b/package/swconfig/Makefile index df897090c..4b24b4cac 100644 --- a/package/swconfig/Makefile +++ b/package/swconfig/Makefile @@ -8,8 +8,9 @@ PKG_VERSION:= 1.0 PKG_RELEASE:= 1 PKG_DESCR:= switch config tool PKG_SECTION:= net/route -PKG_DEPENDS:= libnl libpthread +PKG_DEPENDS:= libnl PKG_BUILDDEP:= libnl +PKG_NEEDS:= threads PKG_SYSTEM_DEPENDS:= mikrotik-rb4xx -- cgit v1.2.3