summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 91309af)
raw | patch | inline | side by side (parent: 91309af)
author | Sam Nelson <sam.nelson@ti.com> | |
Thu, 2 Mar 2017 21:29:24 +0000 (16:29 -0500) | ||
committer | Sam Nelson <sam.nelson@ti.com> | |
Thu, 2 Mar 2017 21:29:24 +0000 (16:29 -0500) |
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
diff --git a/host_bios/simple_buffer_example/dsp/makefile b/host_bios/simple_buffer_example/dsp/makefile
index 67e456755169395865572308e77e1c89fe78fad1..a846ed7eed48b831b7575b68ab8b6af3ef0fc65e 100644 (file)
@$(MKDIR) $(EXEC_DIR)/release
$(CP) bin/$(PLATFORM)/release/server_dsp.xe66 $(EXEC_DIR)/release
+install_rov:
+ @$(ECHO) "#"
+ @$(ECHO) "# Making $@ ..."
+ @$(MKDIR) $(EXEC_DIR)/release
+ $(CP) bin/$(PLATFORM)/release/configuro/package/cfg/Dsp_pe66.rov.xs $(EXEC_DIR)/release
+
help:
@$(ECHO) "make # build executable"
@$(ECHO) "make clean # clean everything"
diff --git a/host_bios/simple_buffer_example/host/makefile b/host_bios/simple_buffer_example/host/makefile
index 1d9f842a856997f68d2ccad2a19926d29fed24e2..53c978bc130df572f055e41da9300a751ed99bed 100644 (file)
@$(MKDIR) $(EXEC_DIR)/release
$(CP) bin/$(BOARD_NAME)/release/app_host.xa15fg $(EXEC_DIR)/release
+install_rov:
+ @$(ECHO) "#"
+ @$(ECHO) "# Making $@ ..."
+ @$(MKDIR) $(EXEC_DIR)/release
+ $(CP) bin/$(BOARD_NAME)/release/configuro/package/cfg/Host_pa15fg.rov.xs $(EXEC_DIR)/release
+
help:
@$(ECHO) "make # build executable"
@$(ECHO) "make clean # clean everything"
index b2c4ca6cb2b2200c048913ca717afc0da6f64a4e..3cf0cb1675c278bb88a5b78852d3cfd47eeb5ff1 100644 (file)
@$(ECHO) "make install EXEC_DIR=/.../testbench # install folder"
# setup install goal
-ifeq (install,$(MAKECMDGOALS))
+ifeq ($(filter $(MAKECMDGOALS),install install_rov),$(MAKECMDGOALS))
ifeq (,$(EXEC_DIR))
EXEC_DIR=$(CURDIR)/install
endif
@$(MKDIR) $(EXEC_DIR)/release
$(MAKE) -C $(subst _install,,$@) EXEC_DIR=$(EXEC_DIR) install
+install_rov: $(PROCLIST) $(addsuffix _install,$(PROCLIST))
+$(addsuffix _install_rov,$(PROCLIST)):
+ @$(ECHO) "#"
+ @$(ECHO) "# Making $@ ..."
+ @$(MKDIR) $(EXEC_DIR)/release
+ $(MAKE) -C $(subst _install_rov,,$@) EXEC_DIR=$(EXEC_DIR) install_rov
+
+
clean: $(addsuffix _clean,$(PROCLIST))
$(RMDIR) install
diff --git a/makefile b/makefile
index 182b49476c24208eabd606b3ac6a6037fbbc1d28..24fed3a6cd0b311442e898c46ee94b221a46b2fe 100755 (executable)
--- a/makefile
+++ b/makefile
# ======== makefile ========
#
-.PHONY: host_bios/simple_buffer_example
+.PHONY: host_bios host_bios/simple_buffer_example
all: host_bios
@echo "# Installing host_bios examples..."
$(MAKE) -C host_bios/simple_buffer_example install
+install_rov::
+ @echo "#"
+ @echo "# Installing host_bios examples..."
+ $(MAKE) -C host_bios/simple_buffer_example install_rov
+
+
clean::
@echo "#"
@echo "# Cleaning host_bios examples..."