summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-11-30 17:29:01 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-11-30 17:31:56 +0100
commit6b1dd45bf4c825fe545e7ca278de21e418a6f994 (patch)
treedd77d554b1a4b628a37ba76b5aebf50518f8f1ee /Makefile
parent6f8597291373a915ddcb9031000442bb1569bf76 (diff)
Makefile: use absolute path for TOPDIR
Reported by mr_claus on IRC. This ensure DL_DIR is always an absolute path, like it was before the build dir reorganization - Fixes vim (patch) build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 018cf6ded..904121e2e 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,8 @@
# Just run 'make menuconfig', configure stuff, then run 'make'.
# You shouldn't need to mess with anything beyond this point...
#--------------------------------------------------------------
-TOPDIR:=.
+# absolute path
+TOPDIR:=$(shell pwd)
CONFIG_CONFIG_IN=Config.in
CONFIG_DEFCONFIG=.defconfig
CONFIG=package/config