summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-19 16:54:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-19 16:54:35 +0000
commit91d77b455375c2cb410ae981646f398de40175fc (patch)
tree14831436a60f148182392569b1313a21824e461a /apps
parentac9a608fd04466f3c5c52674efaf0a3ce9aefd17 (diff)
downloadnuttx-91d77b455375c2cb410ae981646f398de40175fc.tar.gz
nuttx-91d77b455375c2cb410ae981646f398de40175fc.tar.bz2
nuttx-91d77b455375c2cb410ae981646f398de40175fc.zip
Move netutils header files from include/net/uip to include/apps/netutils
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3399 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps')
-rw-r--r--apps/Makefile8
-rw-r--r--apps/vsn/Makefile2
2 files changed, 6 insertions, 4 deletions
diff --git a/apps/Makefile b/apps/Makefile
index ce00bb667..7f95c5cd3 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -40,6 +40,8 @@ ifeq ($(WINTOOL),y)
INCDIROPT = -w
endif
+APPDIR = ${shell pwd}
+
# Application Directories
# SUBDIRS is the list of all directories containing Makefiles. It is used
@@ -115,7 +117,7 @@ $(COBJS): %$(OBJEXT): %.c
$(BUILTIN_APPS_BUILT):
@for dir in $(BUILTIN_APPS_DIR) ; do \
- $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" ; \
+ $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \
done
$(BIN): $(OBJS) $(BUILTIN_APPS_BUILT)
@@ -131,13 +133,13 @@ $(BIN): $(OBJS) $(BUILTIN_APPS_BUILT)
@touch $@
@for dir in $(BUILTIN_APPS_DIR) ; do \
rm -f $$dir/.depend ; \
- $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" depend ; \
+ $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR) depend ; \
done
depend: .depend
define MAKECLEAN
- @(MAKE) -C $1 $2 TOPDIR="$(TOPDIR)"
+ @(MAKE) -C $1 $2 TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR)
endef
clean:
diff --git a/apps/vsn/Makefile b/apps/vsn/Makefile
index 50aa42fcc..3dde8e605 100644
--- a/apps/vsn/Makefile
+++ b/apps/vsn/Makefile
@@ -43,7 +43,7 @@ all: nothing
nothing:
define DOMAKE
- @(MAKE) -C $1 $2 TOPDIR="$(TOPDIR)"
+ @(MAKE) -C $1 $2 TOPDIR="$(TOPDIR) APPDIR=$(APPDIR)"
endef
depend: