summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-01-05 16:14:11 +0100
committerZheng Da <zhengda1936@gmail.com>2010-01-05 16:14:11 +0100
commit7e9133b89dc05abed543420bca068ee5501beb31 (patch)
tree118807cf7513e49dccb0a52c1eaf63c228db71d8
parentf3b3a2ca7ee85517888940a35e652325fa38293f (diff)
define SRC_DIR in Makefile in linux26/lib
-rw-r--r--libdde_linux26/lib/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdde_linux26/lib/src/Makefile b/libdde_linux26/lib/src/Makefile
index 7802479b..be4104c1 100644
--- a/libdde_linux26/lib/src/Makefile
+++ b/libdde_linux26/lib/src/Makefile
@@ -3,6 +3,9 @@ L4DIR ?= $(PKGDIR)
CONTRIB ?= $(PKGDIR)/contrib
-include $(PKGDIR_OBJ)/Makeconf
+ifeq ($(origin SRC_DIR),undefined)
+SRC_DIR := $(shell pwd)
+endif
CONFIG_DDE26_COMMON := y
CONFIG_DDE26_NET := y