summaryrefslogtreecommitdiffstats
path: root/drivers/staging/westbridge/astoria/gadget/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/westbridge/astoria/gadget/Makefile')
-rw-r--r--drivers/staging/westbridge/astoria/gadget/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/staging/westbridge/astoria/gadget/Makefile b/drivers/staging/westbridge/astoria/gadget/Makefile
new file mode 100644
index 0000000..a5eef7e
--- /dev/null
+++ b/drivers/staging/westbridge/astoria/gadget/Makefile
@@ -0,0 +1,11 @@
+#
+# Makefile for the kernel westbridge hal
+#
+
+ifneq ($(CONFIG_WESTBRIDGE_DEBUG),y)
+ EXTRA_CFLAGS += -DWESTBRIDGE_NDEBUG
+endif
+
+obj-$(CONFIG_WESTBRIDGE_GADGET_DRIVER) += cyasgadgetctrl.o
+cyasgadgetctrl-y := cyasgadget.o
+
OpenPOWER on IntegriCloud