summaryrefslogtreecommitdiffhomepage
path: root/console-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/Makefile')
-rw-r--r--console-tools/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/console-tools/Makefile b/console-tools/Makefile
index 5250e7638..202b5347d 100644
--- a/console-tools/Makefile
+++ b/console-tools/Makefile
@@ -4,8 +4,12 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
+ifndef top_srcdir
top_srcdir=..
+endif
+ifndef top_builddir
top_builddir=..
+endif
srcdir=$(top_srcdir)/console/tools
CONSOLETOOLS_DIR:=./
include $(top_builddir)/Rules.mak