diff --git a/ipc-bios.mak b/ipc-bios.mak
index 0946f025810a50d717e7ec1dc869b25051352173..8cab2977961ccd826123845c5986bf86b109c997 100644 (file)
--- a/ipc-bios.mak
+++ b/ipc-bios.mak
#
-# 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
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)\" \
XDCPKG := $(XDC_INSTALL_DIR)/bin/xdcpkg
# Check for Windows specific env vars to determine if we are on Windows
-ifeq (,$(findstring :,$(WINDIR)$(windir)$(COMSPEC)$(comspec)))
- FILTER = grep -v
-else
- # Find is the rough equivalent of grep on Windows
- FILTER = find /v
+ifneq (,$(findstring :,$(WINDIR)$(windir)$(COMSPEC)$(comspec)))
# Replace '/' with '\' because cmd.exe requires '\'s in command names
XDCPKG := $(subst /,\,$(XDCPKG))
endif
-LIST = $(shell $(XDCPKG) ./packages | $(FILTER) "examples")
+LIST = $(shell $(XDCPKG) ./packages)
#
# Set XDCPATH to contain necessary repositories.
# 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 ##
# build everything in the Bios IPC package
@$(XDC) -P $(LIST)
+interfaces:
+ @echo building interfaces for ipc packages ...
+ @$(patsubst ${JOBS},,$(XDC)) .interfaces -P $(LIST)
+
libs:
@echo "#"
@echo "# Making $@ ..."
- @$(XDC) .dlls -P $(LIST)
+ @$(XDC) .dlls -P $(patsubst %/tests,,$(LIST))
-release:
+release: interfaces
@echo building ipc packages ...
# create a XDC release for the Bios IPC package
@$(XDC) release -P $(LIST)