summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0656372)
raw | patch | inline | side by side (parent: 0656372)
author | Jianzhong Xu <xuj@ti.com> | |
Mon, 21 Mar 2016 21:33:26 +0000 (17:33 -0400) | ||
committer | Jianzhong Xu <xuj@ti.com> | |
Mon, 21 Mar 2016 21:33:26 +0000 (17:33 -0400) |
build/Makefile | patch | blob | history |
diff --git a/build/Makefile b/build/Makefile
index 7358e2c69a085b9e6a26f65d94cad03de3825c3a..2d925b4212231aacb70c978ec93f4f14b30b14c9 100644 (file)
--- a/build/Makefile
+++ b/build/Makefile
BUILD_MESSAGE = "building linalg for TI-RTOS"
MAKE_TARGET = DSPlibs
CLEAN_TARGET = cleanDSPlibs
-EXAMPLES = examples/dsponly
else ifeq ($(LIBOS),LIB_OPENCL)
BUILD_MESSAGE = "building linalg for TI-OpenCL"
MAKE_TARGET = ARMplusDSP
CLEAN_TARGET = cleanARMplusDSP
-EXAMPLES = examples/arm+dsp
else
$(call error, ERROR - LIBOS NOT DEFINED. Must specify one of: LIBOS=LIB_RTOS, or LIBOS=LIB_OPENCL)
endif
@echo "making platform directories ..."
$(XDC) clean --xdcpath="$(BIOS_DIR)/packages" -PR $(SRC_PATH)/platforms
$(XDC) --xdcpath "$(XDCPATH)" -PR $(SRC_PATH)/platforms
+ @cp -R $(LINALG_BASE_DIR)/src/ti/linalg/platforms/evm6678/package exports/$(PACKAGE_NAME)/packages/ti/linalg/platforms/evm6678/
+ @cp $(LINALG_BASE_DIR)/src/ti/linalg/platforms/evm6678/package.mak exports/$(PACKAGE_NAME)/packages/ti/linalg/platforms/evm6678/
.eclipse: .exports
@echo creating product plugin
@echo "generating Doxygen document"
cd $(LINALG_BASE_DIR)/src/ti/linalg; doxygen ./docs/doxygen/doxycfg.txt
-#.product: .libs_c6678 .exports .docs .platforms .examples
+ifeq ($(LIBOS),LIB_RTOS)
package: .exports .lib .docs .platforms .eclipse
+else
+package: .exports .lib .docs
+endif
@echo "copying files ..."
@cp -R $(LINALG_BASE_DIR)/src/ti/linalg/lib exports/$(PACKAGE_NAME)/packages/ti/linalg
@cp $(LINALG_BASE_DIR)/src/ti/linalg/include/* exports/$(PACKAGE_NAME)/packages/ti/linalg
@cp -R $(LINALG_BASE_DIR)/src/ti/linalg/docs exports/$(PACKAGE_NAME)
- @cp -R $(LINALG_BASE_DIR)/$(EXAMPLES)/* exports/$(PACKAGE_NAME)/examples/
+ @cp -R $(LINALG_BASE_DIR)/examples/* exports/$(PACKAGE_NAME)/examples/
@echo "archive files to tar ball ..."
@cd exports; zip -q -r $(PACKAGE_NAME).zip $(PACKAGE_NAME)