From: Tobias Klauser Date: Fri, 17 Jun 2011 08:53:54 +0000 (+0200) Subject: Staging: usbip: Fix out-of-tree build for userspace X-Git-Tag: MMI-PSA29.97-13-9~18845^2~241 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=981aabb1482c79014b3bc1a61f0c87bdbceae41d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: usbip: Fix out-of-tree build for userspace This fixes out-of-tree builds ($builddir != $srcdir). In such cases, libusbip.la cannot be found because it is generated in the build directory and not the source directory. Signed-off-by: Tobias Klauser Acked-by: matt mooney Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/usbip/userspace/src/Makefile.am b/drivers/staging/usbip/userspace/src/Makefile.am index 52741c8d60d8..44ff0ca408b0 100644 --- a/drivers/staging/usbip/userspace/src/Makefile.am +++ b/drivers/staging/usbip/userspace/src/Makefile.am @@ -1,6 +1,6 @@ AM_CPPFLAGS := -I$(top_srcdir)/libsrc -DUSBIDS_FILE='"@USBIDS_DIR@/usb.ids"' AM_CFLAGS := @EXTRA_CFLAGS@ @PACKAGE_CFLAGS@ -LDADD := $(top_srcdir)/libsrc/libusbip.la @PACKAGE_LIBS@ +LDADD := $(top_builddir)/libsrc/libusbip.la @PACKAGE_LIBS@ sbin_PROGRAMS := usbip usbipd