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/sane-backends/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/sane-backends') diff --git a/package/sane-backends/Makefile b/package/sane-backends/Makefile index 9e912039a..fea9bd975 100644 --- a/package/sane-backends/Makefile +++ b/package/sane-backends/Makefile @@ -9,8 +9,8 @@ PKG_RELEASE:= 3 PKG_HASH:= 9f84a16800497f0b79a278531bb1a0f438de6ce8cf509fefc65a252e29f90c54 PKG_DESCR:= scanner access now easy PKG_SECTION:= sys/misc -PKG_DEPENDS:= libpthread -PKG_BUILDDEP:= libpthread libusb libusb-compat +PKG_BUILDDEP:= libusb libusb-compat +PKG_NEEDS:= threads PKG_URL:= http://www.sane-project.org/ PKG_SITES:= ftp://ftp2.sane-project.org/pub/sane/${PKG_NAME}-${PKG_VERSION}/ -- cgit v1.2.3