diff options
Diffstat (limited to 'drivers/rapidio/Makefile')
-rw-r--r-- | drivers/rapidio/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/rapidio/Makefile b/drivers/rapidio/Makefile index ec3fb812100..6271ada6993 100644 --- a/drivers/rapidio/Makefile +++ b/drivers/rapidio/Makefile @@ -1,7 +1,10 @@ # # Makefile for RapidIO interconnect services # -obj-y += rio.o rio-access.o rio-driver.o rio-scan.o rio-sysfs.o +obj-$(CONFIG_RAPIDIO) += rapidio.o +rapidio-y := rio.o rio-access.o rio-driver.o rio-sysfs.o + +obj-$(CONFIG_RAPIDIO_ENUM_BASIC) += rio-scan.o obj-$(CONFIG_RAPIDIO) += switches/ obj-$(CONFIG_RAPIDIO) += devices/ |