summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-03-26 23:57:20 +0200
committerThomas Martitz <kugel@rockbox.org>2012-03-26 23:57:20 +0200
commitd5f4391187f8d1e93b313e8145ad81966308c913 (patch)
tree144689b07573529c1264b1b360e382eb9f51e349 /tools
parent045c69c51d541c90f133abcb94f32f9323ed8c6e (diff)
Partly undo 54e00c1: put include back to root.make and use SECONDEXPANSION.
Change-Id: If38507ed896f577ea30e2ddae3bac3f4b98cee59
Diffstat (limited to 'tools')
-rw-r--r--tools/checkwps/checkwps.make4
-rw-r--r--tools/root.make1
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/checkwps/checkwps.make b/tools/checkwps/checkwps.make
index 646b59ef5d..8e183950be 100644
--- a/tools/checkwps/checkwps.make
+++ b/tools/checkwps/checkwps.make
@@ -27,11 +27,9 @@ INCLUDES = -I$(ROOTDIR)/apps/gui \
-I$(APPSDIR) \
-I$(BUILDDIR)
-include $(ROOTDIR)/lib/skin_parser/skin_parser.make
-
.SECONDEXPANSION: # $$(OBJ) is not populated until after this
-$(BUILDDIR)/$(BINARY): $$(CHECKWPS_OBJ) $(CORE_LIBS)
+$(BUILDDIR)/$(BINARY): $$(CHECKWPS_OBJ) $$(CORE_LIBS)
@echo LD $(BINARY)
$(SILENT)$(HOSTCC) -o $@ $+ $(INCLUDE) $(GCCOPTS) \
-L$(BUILDDIR)/lib $(call a2lnk,$(CORE_LIBS))
diff --git a/tools/root.make b/tools/root.make
index 4a8d2adf16..032daf5a1c 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -92,6 +92,7 @@ else ifneq (,$(findstring bootbox,$(APPSDIR)))
include $(APPSDIR)/bootbox.make
else ifneq (,$(findstring checkwps,$(APP_TYPE)))
include $(APPSDIR)/checkwps.make
+ include $(ROOTDIR)/lib/skin_parser/skin_parser.make
else ifneq (,$(findstring database,$(APP_TYPE)))
include $(APPSDIR)/database.make
else ifneq (,$(findstring warble,$(APP_TYPE)))