[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <60B0B31A.7070301@gmail.com>
Date: Fri, 28 May 2021 12:08:42 +0300
From: Eli Billauer <eli.billauer@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>
CC: arnd@...db.de, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org
Subject: Re: [PATCH v5 2/2] char: xillybus: Add driver for XillyUSB (Xillybus
variant for USB)
On 27/05/21 15:12, Greg KH wrote:
>> diff --git a/drivers/char/xillybus/Makefile b/drivers/char/xillybus/Makefile
>> > index 591615264591..16f31d03209d 100644
>> > --- a/drivers/char/xillybus/Makefile
>> > +++ b/drivers/char/xillybus/Makefile
>> > @@ -7,3 +7,4 @@ obj-$(CONFIG_XILLYBUS_CLASS) += xillybus_class.o
>> > obj-$(CONFIG_XILLYBUS) += xillybus_core.o
>> > obj-$(CONFIG_XILLYBUS_PCIE) += xillybus_pcie.o
>> > obj-$(CONFIG_XILLYBUS_OF) += xillybus_of.o
>> > +obj-$(CONFIG_XILLYUSB) += xillyusb.o
>>
> This doesn't quite work.
>
> Even if I have not selected CONFIG_XILLYBUS I get asked aboug
> CONFIG_XILLYUSB.
The symbol tree is:
XILLYBUS_CLASS --+-- XILLYBUS --+-- XILLYBUS_PCIE
| |
| +-- XILLYBUS_OF
|
+-- XILLYUSB
Hence not selecting CONFIG_XILLYBUS doesn't eliminate CONFIG_XILLYUSB.
The behavior you described is correct: CONFIG_XILLYUSB doesn't depend on
CONFIG_XILLYBUS.
> And if I say 'm' to CONFIG_XILLYUSB, nothing gets
> built.
>
>
Sorry, my bad. The directory is currently invoked based upon
CONFIG_XILLYBUS, which was correct before, but now it should be
CONFIG_XILLYBUS_CLASS. I'll submit a patch fixing that promptly.
Plus another patch removing MODULE_VERSION() from all C files, per your
earlier comment.
Thanks and regards,
Eli
Powered by blists - more mailing lists