summaryrefslogtreecommitdiff
path: root/package/sdl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-15 10:11:45 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-15 10:11:45 +0100
commitff6f45b68a15c4bf33ab401e4864205e2a57a066 (patch)
treef6bcec9bfd84158f2fc32a37b1321dacc6ffbd99 /package/sdl
parent68bace539dd6d7e271cf9b5740eb8c3c5507213d (diff)
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.
Diffstat (limited to 'package/sdl')
-rw-r--r--package/sdl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/sdl/Makefile b/package/sdl/Makefile
index b2265c547..351a65f01 100644
--- a/package/sdl/Makefile
+++ b/package/sdl/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:= 1
PKG_HASH:= d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00
PKG_DESCR:= simple directmedia layer
PKG_SECTION:= libs/misc
-PKG_DEPENDS:= libusb alsa-lib libpthread libx11 libxext
+PKG_DEPENDS:= libusb alsa-lib libx11 libxext
PKG_BUILDDEP:= sdl-host libusb alsa-lib libX11 libXext
+PKG_NEEDS:= threads
PKG_URL:= http://www.libsdl.org/
PKG_SITES:= http://www.libsdl.org/release/
PKG_LIBNAME:= libsdl