summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b5dd3eea3..ab512a2af 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,14 +1,14 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-TOPDIR:= $(shell pwd)
-PWD:= ${TOPDIR}
+ADK_TOPDIR:= $(shell pwd)
+PWD:= ${ADK_TOPDIR}
include Makefile.inc
ifneq (${package},)
subdir:= package/${package}
-_subdir_dep:= ${TOPDIR}/.config
+_subdir_dep:= ${ADK_TOPDIR}/.config
endif
ifneq (${subdir},)
@@ -19,7 +19,7 @@ _subdir: ${_subdir_dep}
echo >&2 Error: you must build with “umask 022”, sorry.; \
exit 1; \
fi
- cd ${subdir} && TOPDIR=${TOPDIR} DEVELOPER=1 \
+ cd ${subdir} && ADK_TOPDIR=${ADK_TOPDIR} DEVELOPER=1 \
make VERBOSE=1 ${MAKEFLAGS} ${MAKECMDGOALS}
include prereq.mk