summaryrefslogtreecommitdiff
path: root/package/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-13 09:11:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-13 09:11:48 +0100
commit607c3fcd1d10a37c077c870df450b5389fb519bf (patch)
tree9c7c0e209d6373efe2296e379c63c29d27a8847b /package/Makefile
parentc16eb800d935d903d2ab38b3da8270324284e973 (diff)
parentf42fb988bae9d402b0b204614b54ba9b4261d877 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/package/Makefile b/package/Makefile
index eb49efd6a..1b8cc97f3 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -9,26 +9,19 @@ ifeq (${ADK_TARGET_LIB_GLIBC},y)
package-$(ADK_PACKAGE_GLIBC) += glibc
gcc-compile: glibc-compile
endif
+
ifeq (${ADK_TARGET_LIB_MUSL},y)
package-$(ADK_PACKAGE_MUSL) += musl
gcc-compile: musl-compile
endif
-ifeq (${ADK_NATIVE},y)
-package-$(ADK_PACKAGE_LIBC) += libc
-endif
-ifneq (${ADK_NATIVE},y)
-package-$(ADK_PACKAGE_LIBPTHREAD) += libpthread
-endif
-ifneq (${ADK_TARGET_LIB_GLIBC},y)
-ifneq (${ADK_TARGET_LIB_MUSL},y)
-ifneq (${ADK_NATIVE},y)
+ifeq (${ADK_TARGET_LIB_UCLIBC},y)
package-$(ADK_PACKAGE_UCLIBC) += uclibc
-gcc-compile: uclibc-compile
-endif
package-$(ADK_PACKAGE_UCLIBCXX) += uclibc++
+gcc-compile: uclibc-compile
endif
-endif
+
+package-$(ADK_PACKAGE_LIBPTHREAD) += libpthread
include $(TOPDIR)/package/Depends.mk