Commit a1e798cedfa604a0dfd5b5d577a7c8bae81a1bd5
authorMichel Pollet <buserror@gmail.com>
Mon, 27 Feb 2012 13:59:27 +0000 (13:59 +0000)
committerMichel Pollet <buserror@gmail.com>
Mon, 27 Feb 2012 13:59:27 +0000 (13:59 +0000)
Somehow PWD is wrong, it's the shell's one not the make one

Signed-off-by: Michel Pollet <buserror@gmail.com>
examples/vhci/Makefile

index 6c3a0f8fb350a5ca62346fc60a7ddf7e306712aa..fd624ef0c4113e2039babffbbdbceb4818c10c7b 100644 (file)
@@ -11,6 +11,7 @@
 HCD_V          = 1.14
 VHCI_V                 = 0.6
 BASE_URL       = http://downloads.sourceforge.net/project/usb-vhci
+PWD                    = ${shell pwd}
 
 all: library
 
@@ -36,7 +37,7 @@ lib/libusb_vhci.a: module libusb_vhci-$(VHCI_V)
        ln -snf vhci-hcd-$(HCD_V) linux && \
                cd libusb_vhci-$(VHCI_V) && \
                ./configure --prefix=$(PWD) CPPFLAGS="-I$(PWD)" --enable-static --disable-shared && \
-                       make && make install
+                       make -j && make install
 
 libusb_vhci-$(VHCI_V).tar.bz2:
        wget $(BASE_URL)/native%20libraries/libusb_vhci-$(VHCI_V).tar.bz2