Cleaning up makefiel and scripts.
[processor-sdk/performance-audio-sr.git] / installer_builder / rtsc / Makefile
index 0471ba893b56e5448abe8fda214f364aa5ef39f2..3c04c3a0c90c1ab6276c6875ae18b466370665e2 100644 (file)
@@ -43,12 +43,12 @@ ifeq ($(XDCROOT),)
 $(call error,ERROR - XDCROOT NOT DEFINED)\r
 endif\r
 \r
-ifeq ($(PASDK_BASE_DIR),)\r
-PASDK_BASE_DIR := $(shell pwd)\r
+ifeq ($(PA_BASE_DIR),)\r
+PA_BASE_DIR := $(shell pwd)\r
 endif\r
 \r
 ifeq ($(SRC_PATH),)\r
-SRC_PATH = $(PASDK_BASE_DIR)/pasrc\r
+SRC_PATH = $(PA_BASE_DIR)/pasrc\r
 endif\r
 \r
 \r
@@ -79,9 +79,9 @@ all: package
 \r
 .eclipse: .exports\r
        @echo creating product plugin\r
-       $(XDC) clean -P $(PASDK_BASE_DIR)/installer_builder/rtsc/eclipse\r
-       $(XDC) -P $(PASDK_BASE_DIR)/installer_builder/rtsc/eclipse\r
-       $(XS) --xdcpath "$(XDCPATH);$(PASDK_BASE_DIR)/installer_builder/rtsc" xdc.tools.product.plugingen -p exports/$(PACKAGE_NAME) -m eclipse.Product\r
+       $(XDC) clean -P $(PA_BASE_DIR)/installer_builder/rtsc/eclipse\r
+       $(XDC) -P $(PA_BASE_DIR)/installer_builder/rtsc/eclipse\r
+       $(XS) --xdcpath "$(XDCPATH);$(PA_BASE_DIR)/installer_builder/rtsc" xdc.tools.product.plugingen -p exports/$(PACKAGE_NAME) -m eclipse.Product\r
 \r
 .exports:\r
        @echo "making product directories ..."\r
@@ -99,17 +99,17 @@ all: package
        \r
 package: .lib .exports \r
        @echo "copying files ..."       \r
-       @cp -R $(PASDK_BASE_DIR)/pasrc exports/$(PACKAGE_NAME)/src\r
+       @cp -R $(PA_BASE_DIR)/pasrc exports/$(PACKAGE_NAME)/src\r
        @rm -f -r exports/$(PACKAGE_NAME)/src/pasrc/paf/.git*\r
-       @cp -R $(PASDK_BASE_DIR)/tools/alpha exports/$(PACKAGE_NAME)/tools\r
-       @cp -R $(PASDK_BASE_DIR)/tools/bin exports/$(PACKAGE_NAME)/tools\r
-       @cp -R $(PASDK_BASE_DIR)/tools/pyalpha exports/$(PACKAGE_NAME)/tools\r
-       @cp -R $(PASDK_BASE_DIR)/tools/config.ini exports/$(PACKAGE_NAME)/tools\r
-       @cp -R $(PASDK_BASE_DIR)/tools/setup.bat exports/$(PACKAGE_NAME)/tools\r
-       @cp -R $(PASDK_BASE_DIR)/setup_build_env exports/$(PACKAGE_NAME)/src\r
-       @cp -R $(PASDK_BASE_DIR)/install/pasrc/debug/* exports/$(PACKAGE_NAME)/prebuilt-binaries\r
-       @cp -R $(PASDK_BASE_DIR)/Makefile exports/$(PACKAGE_NAME)/src\r
-       @cp -R $(PASDK_BASE_DIR)/products.mak exports/$(PACKAGE_NAME)/src\r
+       @cp -R $(PA_BASE_DIR)/tools/alpha exports/$(PACKAGE_NAME)/tools\r
+       @cp -R $(PA_BASE_DIR)/tools/bin exports/$(PACKAGE_NAME)/tools\r
+       @cp -R $(PA_BASE_DIR)/tools/pyalpha exports/$(PACKAGE_NAME)/tools\r
+       @cp -R $(PA_BASE_DIR)/tools/config.ini exports/$(PACKAGE_NAME)/tools\r
+       @cp -R $(PA_BASE_DIR)/tools/setup.bat exports/$(PACKAGE_NAME)/tools\r
+       @cp -R $(PA_BASE_DIR)/setup_build_env exports/$(PACKAGE_NAME)/src\r
+       @cp -R $(PA_BASE_DIR)/install/pasrc/debug/* exports/$(PACKAGE_NAME)/prebuilt-binaries\r
+       @cp -R $(PA_BASE_DIR)/Makefile exports/$(PACKAGE_NAME)/src\r
+       @cp -R $(PA_BASE_DIR)/products.mak exports/$(PACKAGE_NAME)/src\r
        @echo "archive files to tar ball ..."\r
        @cd exports; zip -q -r $(PACKAGE_NAME).zip $(PACKAGE_NAME)\r
 \r