diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2014-08-27 10:42:53 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-08-29 22:53:46 +0200 |
commit | fa31409a82ee050e52caad9e4c483fe3edca163a (patch) | |
tree | 3426336acf6d6571b3b6eec1d0bbfdce443d84b4 /drivers/usb/gadget/legacy/Makefile | |
parent | usb: gadget: udc: use USB API functions rather than constants (diff) | |
download | linux-fa31409a82ee050e52caad9e4c483fe3edca163a.tar.xz linux-fa31409a82ee050e52caad9e4c483fe3edca163a.zip |
usb: gadget: use $(srctree) instead of $(PWD) for includes
Using $(PWD) breaks builds when make was invoked from outside
of the kernel tree.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/legacy/Makefile')
-rw-r--r-- | drivers/usb/gadget/legacy/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/legacy/Makefile b/drivers/usb/gadget/legacy/Makefile index a11aad5635df..7f485f25705e 100644 --- a/drivers/usb/gadget/legacy/Makefile +++ b/drivers/usb/gadget/legacy/Makefile @@ -2,9 +2,9 @@ # USB gadget drivers # -ccflags-y := -I$(PWD)/drivers/usb/gadget/ -ccflags-y += -I$(PWD)/drivers/usb/gadget/udc/ -ccflags-y += -I$(PWD)/drivers/usb/gadget/function/ +ccflags-y := -I$(srctree)/drivers/usb/gadget/ +ccflags-y += -I$(srctree)/drivers/usb/gadget/udc/ +ccflags-y += -I$(srctree)/drivers/usb/gadget/function/ g_zero-y := zero.o g_audio-y := audio.o |