From 4786d0438effecde73585fefaa6cec4921f70b3c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 5 Sep 2014 11:25:34 -0600 Subject: Copy more logic from nuttx/tools/Config.mk into the Make.defs file. Plus trivial related changes --- apps/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/Makefile') diff --git a/apps/Makefile b/apps/Makefile index b8d73f995..0ad9596d6 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -35,17 +35,17 @@ # ############################################################################ --include $(TOPDIR)/Make.defs - APPDIR = ${shell pwd} +TOPDIR ?= $(APPDIR)/import + +-include $(TOPDIR)/Make.defs # Application Directories # CONFIGURED_APPS is the list of all configured built-in directories/built # action. # SUBDIRS is the list of all directories containing Makefiles. It is used -# only for cleaning. builtin must always be the first in the list. This -# list can be extended by the .config file as well. +# only for cleaning. builtin must always be the first in the list. CONFIGURED_APPS = SUBDIRS = examples graphics interpreters modbus builtin import nshlib -- cgit v1.2.3