summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/graphics/traveler/Makefile')
-rw-r--r--apps/graphics/traveler/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/apps/graphics/traveler/Makefile b/apps/graphics/traveler/Makefile
index 1f39d1af6..54454fa9f 100644
--- a/apps/graphics/traveler/Makefile
+++ b/apps/graphics/traveler/Makefile
@@ -39,10 +39,11 @@ include $(APPDIR)/Make.defs
# Directories
-TRAVELER_DIR = $(APPDIR)/graphics/traveler
-TRAVELER_SRC = $(TRAVELER_DIR)/src
-TRAVELER_INC = $(TRAVELER_DIR)/include
-TRAVELER_DEMO = $(TRAVELER_DIR)/world
+TRAVELER_DIR = $(APPDIR)/graphics/traveler
+TRAVELER_SRC = $(TRAVELER_DIR)/src
+TRAVELER_INC = $(TRAVELER_DIR)/include
+TRAVELER_DEMO = $(TRAVELER_DIR)/world
+TRAVELER_TOOLS = $(TRAVELER_DIR)/tools
# Traveler built-in application info
@@ -119,8 +120,8 @@ VPATH = .:src
# Common build
-all: .built
-.PHONY: clean depend distclean
+all: .built tools
+.PHONY: tools clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -140,6 +141,9 @@ endif
$(call ARCHIVE, $(BIN), $(OBJS))
@touch .built
+tools:
+ $(Q) $(MAKE) -C $(TRAVELER_TOOLS) -f Makefile.host TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
+
ifeq ($(CONFIG_BUILD_KERNEL),y)
$(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ)
@echo "LD: $(PROGNAME)"