aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/westbridge/astoria/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/westbridge/astoria/Makefile')
-rwxr-xr-x[-rw-r--r--]drivers/staging/westbridge/astoria/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/staging/westbridge/astoria/Makefile b/drivers/staging/westbridge/astoria/Makefile
index 907bdb2..377cd29 100644..100755
--- a/drivers/staging/westbridge/astoria/Makefile
+++ b/drivers/staging/westbridge/astoria/Makefile
@@ -7,5 +7,12 @@ ifneq ($(CONFIG_WESTBRIDGE_DEBUG),y)
endif
obj-$(CONFIG_WESTBRIDGE) += device/
+ifeq ($(CONFIG_MACH_U1_NA_SPR),y)
+obj-$(CONFIG_WESTBRIDGE) += switch/
+else ifeq ($(CONFIG_MACH_U1_NA_USCC),y)
+obj-$(CONFIG_WESTBRIDGE) += switch/
+else
obj-$(CONFIG_WESTBRIDGE) += block/
-obj-$(CONFIG_WESTBRIDGE) += gadget/ \ No newline at end of file
+obj-$(CONFIG_WESTBRIDGE) += gadget/
+endif
+