]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/blobdiff - ipc-bios.mak
SDOCM00115293 Linux transport interfaces need documentation
[ipc/ipcdev.git] / ipc-bios.mak
index de0628e20244c1aa0b6860e66ac69a85cdb4a626..d4bbee262e77e9dafff75eb8ba1b401a032a4c36 100644 (file)
@@ -1,5 +1,5 @@
 #
-#   Copyright (c) 2012-2013, Texas Instruments Incorporated
+#   Copyright (c) 2012-2015, Texas Instruments Incorporated
 #
 #   Redistribution and use in source and binary forms, with or without
 #   modification, are permitted provided that the following conditions
@@ -74,8 +74,6 @@ include ./products.mak
 XDCARGS= \
     PLATFORM=\"$(PLATFORM)\" \
     BIOS_SMPENABLED=\"$(BIOS_SMPENABLED)\" \
-    ti.targets.C28_large=\"$(ti.targets.C28_large)\" \
-    ti.targets.C28_float=\"$(ti.targets.C28_float)\" \
     ti.targets.C64P=\"$(ti.targets.C64P)\" \
     ti.targets.C64P_big_endian=\"$(ti.targets.C64P_big_endian)\" \
     ti.targets.C674=\"$(ti.targets.C674)\" \
@@ -96,6 +94,10 @@ XDCARGS= \
     gnu.targets.arm.A8F=\"$(gnu.targets.arm.A8F)\" \
     gnu.targets.arm.A15F=\"$(gnu.targets.arm.A15F)\"
 
+ifeq ($(MAKECMDGOALS),release)
+    XDCARGS += GOAL=release
+endif
+
 #
 # Get list of packages to rebuild. Remove examples from the list.
 #
@@ -130,26 +132,26 @@ export XDCOPTIONS
 # Note that XDCBUILDCFG points to the ipc-bios.bld file which uses
 # the arguments specified by XDCARGS
 #
-XDC = $(XDC_INSTALL_DIR)/xdc XDCARGS="$(XDCARGS)" XDCBUILDCFG=./ipc-bios.bld
+XDC = $(XDC_INSTALL_DIR)/xdc $(JOBS) XDCARGS="$(XDCARGS)" XDCBUILDCFG=./ipc-bios.bld
 
 ######################################################
 ## Shouldnt have to modify anything below this line ##
 ######################################################
 
 all:
-       @ echo building ipc packages ...
+       @echo building ipc packages ...
 # build everything in the Bios IPC package
-       @ $(XDC) -P $(LIST)
+       @$(XDC) -P $(LIST)
 
 libs:
        @echo "#"
        @echo "# Making $@ ..."
-       $(XDC) .dlls -P $(LIST)
+       @$(XDC) .dlls -P $(patsubst %/tests,,$(LIST))
 
 release:
-       @ echo building ipc packages ...
+       @echo building ipc packages ...
 # create a XDC release for the Bios IPC package
-       @ $(XDC) release -P $(LIST)
+       @$(XDC) release -P $(LIST)
 
 clean:
        @ echo cleaning ipc packages ...