summaryrefslogtreecommitdiff
path: root/package/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-21 05:41:41 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-21 05:41:41 (GMT)
commit90f603e2be40d996c421ae8e95464e38911eabaf (patch)
treea3a8aa942a9acf078eed1333404de22aaa106219 /package/gcc
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/gcc')
-rw-r--r--package/gcc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 88cc5b4..3311e12 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -1,8 +1,8 @@
# 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 ${TOPDIR}/toolchain/gcc/Makefile.inc
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/gcc/Makefile.inc
PKG_NAME:= gcc
PKG_DESCR:= c compiler
@@ -16,7 +16,7 @@ PKGSD_GXX:= c++ compiler
WRKBUILD= ${WRKDIR}/${PKG_NAME}-obj
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GCC,gcc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,GXX,g++,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -93,4 +93,4 @@ g++-install:
cd ${IDIR_GXX}/usr/bin/ && ln -sf g++ c++
${CP} ${WRKINST}/usr/include/c++/* ${IDIR_GXX}/usr/include/c++/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk