QNX IPC: Build - Add Vayu Build to the QNX IPC
[ipc/ipcdev.git] / ipc-qnx.mak
index 7e2429a15b88c87bd49d8be4787dd053d0e807ca..5ea54ddc57faba16e51f4452bb6c759952f2b2f4 100644 (file)
@@ -50,20 +50,21 @@ endif
 
 all: .qnx
 
-.qnx: .qnx,omap5432
+.qnx: .qnx,$(DEVICE)
 
 .qnx,%: PATH:=$(QNX_PATH):$(PATH)
 .qnx,%:
        @echo "building Qnx user libraries for" $(*:.qnx,=) "..."
        @make -C qnx \
                 IPC_REPO=`pwd` \
-                PLATFORM=$(*:.qnx,=)
+                PLATFORM=$(*:.qnx,=) \
+                BUILD_FOR_VIRTIO=$(BUILD_FOR_VIRTIO)
 
 clean:
        @echo "cleaning Qnx user libraries ..."
        @make -C qnx clean
 
-install: .install,omap5432
+install: .install,$(DEVICE)
 
 .install,%: PATH:=$(QNX_PATH):$(PATH)
 .install,%:
@@ -72,5 +73,6 @@ install: .install,omap5432
        @make -C qnx \
                 IPC_REPO=`pwd` \
                 PLATFORM=$(*:.qnx,=) \
+                BUILD_FOR_VIRTIO=$(BUILD_FOR_VIRTIO) \
                DESTDIR=$(DESTDIR) \
                install