Skip to contentSkip to conversation

staging: most: Build error since commit "drivers: most: add USB adapter driver"

PATCH New Michael Straube 2 participants 3 messages Aug 2, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

with commit 97a6f772f36b7f52bcfa56a581bbd2470cffe23d ("drivers: most: add USB adapter driver") I get build errors.

$ LANG=C make clean drivers/staging/rtl8188eu/
scripts/Makefile.clean:15: drivers/staging/most/usb/Makefile: No such file or directory
make[5]: *** No rule to make target 'drivers/staging/most/usb/Makefile'.  Stop.
make[4]: *** [scripts/Makefile.clean:66: drivers/staging/most/usb] Error 2
make[3]: *** [scripts/Makefile.clean:66: drivers/staging/most] Error 2
make[2]: *** [scripts/Makefile.clean:66: drivers/staging] Error 2
make[1]: *** [Makefile:1763: _clean_drivers] Error 2
make: *** [Makefile:336: __build_one_by_one] Error 2

Did you forgot to remove the below line from drivers/staging/most/Makefile ?

obj-$(CONFIG_MOST_USB) += usb/

Regards,
Michael

maintainer
#1 lore raw
Quoted 14 lines · Michael Straube

Hi,

with commit 97a6f772f36b7f52bcfa56a581bbd2470cffe23d ("drivers: most: add USB adapter driver") I get build errors.

$ LANG=C make clean drivers/staging/rtl8188eu/
scripts/Makefile.clean:15: drivers/staging/most/usb/Makefile: No such file or directory
make[5]: *** No rule to make target 'drivers/staging/most/usb/Makefile'.  Stop.
make[4]: *** [scripts/Makefile.clean:66: drivers/staging/most/usb] Error 2
make[3]: *** [scripts/Makefile.clean:66: drivers/staging/most] Error 2
make[2]: *** [scripts/Makefile.clean:66: drivers/staging] Error 2
make[1]: *** [Makefile:1763: _clean_drivers] Error 2
make: *** [Makefile:336: __build_one_by_one] Error 2
Quoted 3 lines

Did you forgot to remove the below line from drivers/staging/most/Makefile ?

obj-$(CONFIG_MOST_USB) += usb/

Ugh, yes, let me go fix that up right now, sorry...

greg k-h

#2 lore raw

PATCH 1/1 staging: most: fix up movement of USB driver

When moving the most usb driver out of staging, we forgot to remove the subdirectory out of the staging Makefile as well.

Fixes 97a6f772f36b ("drivers: most: add USB adapter driver")
Cc Christian Gromm <[email protected]>
---
 drivers/staging/most/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/most/Makefile +0 -1
index a803a98654a8..7c10b84ebac0 100644
@@ -6,4 +6,3 @@ obj-$(CONFIG_MOST_SOUND)	+= sound/
 obj-$(CONFIG_MOST_VIDEO)	+= video/
 obj-$(CONFIG_MOST_DIM2)	+= dim2/
 obj-$(CONFIG_MOST_I2C)	+= i2c/
-obj-$(CONFIG_MOST_USB)	+= usb/
Signature · 1 line
2.28.0