summaryrefslogtreecommitdiff
path: root/package/libpthread/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-21 07:41:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-21 07:41:41 +0200
commit90f603e2be40d996c421ae8e95464e38911eabaf (patch)
treea3a8aa942a9acf078eed1333404de22aaa106219 /package/libpthread/Makefile
parentf9292cf478867567f80ad270d4351e9a48ef4d06 (diff)
s/TOPDIR/ADK_TOPDIR/
to avoid namespace collisions in some packages, rename TOPDIR. Sorry you need to make cleandir && make prereq && make
Diffstat (limited to 'package/libpthread/Makefile')
-rw-r--r--package/libpthread/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index df759bbe7..4589d6c0a 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -1,16 +1,16 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
-include ${TOPDIR}/toolchain/glibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/glibc/Makefile.inc
endif
ifeq ($(ADK_TARGET_LIB_MUSL),y)
-include ${TOPDIR}/toolchain/musl/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/musl/Makefile.inc
endif
ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
-include ${TOPDIR}/toolchain/uclibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/uclibc/Makefile.inc
endif
PKG_NAME:= libpthread
@@ -20,7 +20,7 @@ PKG_OPTS:= noremove nostaging noscripts
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBPTHREAD,libpthread,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -35,4 +35,4 @@ ifeq ($(ADK_TARGET_LIB_MUSL),)
(cd ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH); ln -sf libpthread.so.0 libpthread.so)
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk