From ff6f45b68a15c4bf33ab401e4864205e2a57a066 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@uclibc-ng.org>
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/alsa-utils/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'package/alsa-utils')

diff --git a/package/alsa-utils/Makefile b/package/alsa-utils/Makefile
index f0ca7d65e..a7bad8975 100644
--- a/package/alsa-utils/Makefile
+++ b/package/alsa-utils/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:=		1
 PKG_HASH:=		5160058f3e14483ced5de919dd473f93932059454530a9b7ef97dcabd6833e9b
 PKG_DESCR:=		mixer/player/record utilities
 PKG_SECTION:=		mm/audio
-PKG_DEPENDS:=		alsa-lib libpthread librt
+PKG_DEPENDS:=		alsa-lib
 PKG_BUILDDEP:=		alsa-lib
+PKG_NEEDS:=		threads rt
 PKG_URL:=		http://www.alsa-project.org/
 PKG_SITES:=		ftp://ftp.alsa-project.org/pub/utils/
 
-- 
cgit v1.2.3