diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 02:43:33 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 03:30:02 (GMT) |
commit | 2d96650139bf6f163970f72ef8aa1abaa6c8b3d1 (patch) | |
tree | 0e8f858b6a8342ddda5d8e07705a9b4a2b2753ab /drivers/staging/ced1401/Makefile | |
parent | c7fbfc825fdf183829fac42f55e1e5727f746bb0 (diff) | |
download | linux-fsl-qoriq-2d96650139bf6f163970f72ef8aa1abaa6c8b3d1.tar.xz |
Staging: ced1401: add driver to the build
This adds the ced1401 driver to the build system.
Yes, there are a lot of warning messages, but it does compile, so it
should be good to get going.
Cc: Alois Schlögl <alois.schloegl@ist.ac.at>
Cc: Greg P. Smith <greg@ced.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ced1401/Makefile')
-rw-r--r-- | drivers/staging/ced1401/Makefile | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/staging/ced1401/Makefile b/drivers/staging/ced1401/Makefile index 6acb031..f0c114b 100644 --- a/drivers/staging/ced1401/Makefile +++ b/drivers/staging/ced1401/Makefile @@ -1,12 +1,3 @@ -obj-m := cedusb.o -cedusb-objs := usb1401.o ced_ioc.o -KDIR := /lib/modules/$(shell uname -r)/build -PWD := $(shell pwd) -KBUILD_EXTRA_SYMBOLS := $(PWD) -EXTRA_CFLAGS = -I$(HOME)/src/ced1401 -all: - $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules - -clean: - $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean +obj-$(CONFIG_CED1401) := cedusb.o +cedusb-objs := usb1401.o ced_ioc.o |