Add KConfig and Makefile stuff Signed-off-by: Ayush Singh <ayushdevel1325@xxxxxxxxx> --- drivers/staging/greybus/Kconfig | 9 +++++++++ drivers/staging/greybus/Makefile | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/drivers/staging/greybus/Kconfig b/drivers/staging/greybus/Kconfig index 927cfa4bc989..5306d773c3ce 100644 --- a/drivers/staging/greybus/Kconfig +++ b/drivers/staging/greybus/Kconfig @@ -213,4 +213,13 @@ config GREYBUS_ARCHE To compile this code as a module, chose M here: the module will be called gb-arche.ko +config GREYBUS_BEAGLEPLAY + tristate "Greybus BeaglePlay driver" + depends on TTY + help + Select this option if you have a BeaglePlay device. + + To compile this code as a module, chose M here: the module + will be called gb-beagleplay.ko + endif # GREYBUS diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index 7c5e89622334..a94a88bfad01 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -71,3 +71,8 @@ obj-$(CONFIG_GREYBUS_USB) += gb-usb.o gb-arche-y := arche-platform.o arche-apb-ctrl.o obj-$(CONFIG_GREYBUS_ARCHE) += gb-arche.o + +# Beagleplay Greybus driver +gb-beagleplay-y := beagleplay-greybus-driver.o hdlc.o + +obj-$(CONFIG_GREYBUS_BEAGLEPLAY) += gb-beagleplay.o -- 2.41.0 _______________________________________________ greybus-dev mailing list -- greybus-dev@xxxxxxxxxxxxxxxx To unsubscribe send an email to greybus-dev-leave@xxxxxxxxxxxxxxxx