Remove BUILD_FOR_VIRTIO from products.mak and added support for DEVICE simvayu
[ipc/ipcdev.git] / ipc-qnx.mak
index 5ea54ddc57faba16e51f4452bb6c759952f2b2f4..dfe55908d198010d8533f34408b0f7c1de8ff087 100644 (file)
@@ -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,%: