From: vwan@ti.com Date: Mon, 13 May 2013 18:56:32 +0000 (-0700) Subject: Remove BUILD_FOR_VIRTIO from products.mak and added support for DEVICE simvayu X-Git-Tag: 3.00.01.21_eng~8 X-Git-Url: https://git.ti.com/gitweb?p=ipc%2Fipcdev.git;a=commitdiff_plain;h=0e9327ea46259a77f9d93c9d17236e3640bb9a67;ds=sidebyside Remove BUILD_FOR_VIRTIO from products.mak and added support for DEVICE simvayu DEVICE simvayu corresponds to a simulated vayu device Signed-off-by: Chris Ring --- diff --git a/ipc-qnx.mak b/ipc-qnx.mak index 5ea54dd..dfe5590 100644 --- a/ipc-qnx.mak +++ b/ipc-qnx.mak @@ -48,9 +48,17 @@ ifneq ($(wildcard $(QNX_INSTALL_DIR)),) export LD_LIBRARY_PATH=$(QNX_INSTALL_DIR)/host/linux/x86/usr/lib endif +ifeq ("$(DEVICE)","simvayu") +BUILD_FOR_VIRTIO = true +PLATFORM = vayu +else +BUILD_FOR_VIRTIO = false +PLATFORM = $(DEVICE) +endif + all: .qnx -.qnx: .qnx,$(DEVICE) +.qnx: .qnx,$(PLATFORM) .qnx,%: PATH:=$(QNX_PATH):$(PATH) .qnx,%: @@ -64,7 +72,7 @@ clean: @echo "cleaning Qnx user libraries ..." @make -C qnx clean -install: .install,$(DEVICE) +install: .install,$(PLATFORM) .install,%: PATH:=$(QNX_PATH):$(PATH) .install,%: diff --git a/products.mak b/products.mak index fa3d894..87d6b32 100644 --- a/products.mak +++ b/products.mak @@ -57,19 +57,10 @@ QNX_INSTALL_DIR ?= # Set up destination for target binaries DESTDIR ?= -# List of supported devices (choose one): omap5432, vayu +# List of supported devices (choose one): omap5432, vayu, simvayu # DEVICE ?= _device_ -# Define the product variables for the device you will be using. -# -######## For vayu device ######## -ifeq ("$(DEVICE)","vayu") -BUILD_FOR_VIRTIO ?= true -else -BUILD_FOR_VIRTIO ?= false -endif - #################### IPC Bios #################### # Set up required dependencies for IPC Bios builds