From 90f603e2be40d996c421ae8e95464e38911eabaf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 21 Jun 2014 07:41:41 +0200 Subject: s/TOPDIR/ADK_TOPDIR/ to avoid namespace collisions in some packages, rename TOPDIR. Sorry you need to make cleandir && make prereq && make --- scripts/scan-tools.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/scan-tools.sh') diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 0e4dff4be..21f884e3f 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -78,7 +78,7 @@ else fi cat >Makefile <<'EOF' -include ${TOPDIR}/prereq.mk +include ${ADK_TOPDIR}/prereq.mk all: run-test test: test.c @@ -96,7 +96,7 @@ cat >test.c <<-'EOF' return (0); } EOF -X=$($makecmd TOPDIR=$topdir 2>&1) +X=$($makecmd ADK_TOPDIR=$topdir 2>&1) if [[ $X != *@(Native compiler works)* ]]; then echo "$X" | sed 's/^/| /' echo Cannot compile a simple test programme. @@ -144,7 +144,7 @@ cat >test.c <<-'EOF' } EOF X=$(echo 'Yay! Native compiler works.' | gzip | \ - $makecmd TOPDIR=$topdir LDADD=-lz 2>&1) + $makecmd ADK_TOPDIR=$topdir LDADD=-lz 2>&1) if [[ $X != *@(Native compiler works)* ]]; then echo "$X" | sed 's/^/| /' echo Cannot compile a libz test programm. -- cgit v1.2.3