Skip to contentSkip to conversation

linux-next: Tree for July 14

DISCUSSION [email protected] 1 participant 1 message Jul 14, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 1 line · Stephen Rothwell

On Mon, 14 Jul 2008 13:43:17 +0200 "Gabriel C" <[email protected]>

Quoted 8 lines · wrote:
Quoted 8 lines

make clean / mrproper is broken , I'm not sure when it broken , I'm updating from
2.6.26-rc8-next-20080630.

...

crazy@thor:/work/crazy/linux/linux-next/git/linux-2.6$ LC_ALL=C make

clean

Quoted 17 lines
Quoted 10 lines

scripts/Makefile.clean:17:
/work/crazy/linux/linux-next/git/linux-2.6/drivers/media/mdtv/Makefile:
No such file or directory
make[3]: *** No rule to make target `/work/crazy/linux/linux-next/git/linux-2.6/drivers/media/mdtv/Makefile'.
Stop.
make[2]: *** [drivers/media/mdtv] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2

Quoted 6 lines

...

drivers/media/Makefile has 'obj-$(CONFIG_MDTV_ADAPTERS) += mdtv/' but I cannot see such a folder under drivers/media =). Removing mdtv from Makefile fixes the problem.

Quoted 7 lines

Commit 0fdb296d34c14520f061828d69a6e537e7dd78a4 ("V4L/DVB (8272):
sms1xxx: move driver from media/mdtv/ to media/dvb/siano/") moved all of drivers/media/mdtv, but didn;t remove the reference from drivers/media/Makefile.

Added some cc's

Thank you for pointing this out, Stephen.

It looks like the patches did not carry over into git correctly. This issue SHOULD have been fixed two changesets later, by the changeset entitled, "V4L/DVB (8274): sms1xxx: build cleanup after driver relocation" ... but, as you can see, the Makefile change didn't get applied.

This is the (incomplete) change in Mauro's git tree:

drivers/media/Kconfig index renamed from drivers/media/Kconfig +0 -0

e6a5879..7a7803b 100644

drivers/media/Kconfig +0 -14
@@ -115,20 +115,6 @@ source "drivers/media/radio/Kconfig"
 
 source "drivers/media/dvb/Kconfig"
 
-#
-# Mobile Digital TV devices (DVB-H, T-DMB, etc.)
-#
-menuconfig MDTV_ADAPTERS
-    bool "Mobile Digital TV adapter"
-    default y
-
-if MDTV_ADAPTERS
-
-source "drivers/media/mdtv/Kconfig"
-
-endif # MDTV_ADAPTERS
-
-
 config DAB
     boolean "DAB adapters"
     ---help---

But THIS is the change that should have been applied:

http://linuxtv.org/hg/v4l-dvb/rev/6949d67b8fbb

# HG changeset patch
# User Michael Krufky <[email protected]> # Date 1211481160 14400
# Node ID 6949d67b8fbb301df8970bf464dd53a6cbb4072c # Parent bb2d949c18602351d0cc43386b7caa63e5bf15b7
sms1xxx: build cleanup after driver relocation

From: Michael Krufky <[email protected]>

linux/drivers/media/Kconfig Thu May 22 14:32:40 2008 -0400 renamed from linux/drivers/media/Kconfig Thu May 22 14:30:17 2008 -0400 +0 -14
@@ -115,20 +115,6 @@ source "drivers/media/radio/Kconfig"
 
 source "drivers/media/dvb/Kconfig"
 
-#
-# Mobile Digital TV devices (DVB-H, T-DMB, etc.)
-#
-menuconfig MDTV_ADAPTERS
-    bool "Mobile Digital TV adapter"
-    default y
-
-if MDTV_ADAPTERS
-
-source "drivers/media/mdtv/Kconfig"
-
-endif # MDTV_ADAPTERS
-
-
 config DAB
     boolean "DAB adapters"
     ---help---
linux/drivers/media/Makefile Thu May 22 14:32:40 2008 -0400 renamed from linux/drivers/media/Makefile Thu May 22 14:30:17 2008 -0400 +0 -1
@@ -6,4 +6,3 @@ obj-y += common/ video/
 
 obj-$(CONFIG_VIDEO_DEV) += radio/
 obj-$(CONFIG_DVB_CORE)  += dvb/
-obj-$(CONFIG_MDTV_ADAPTERS)  += mdtv/
\ No newline at end of file

Mauro,

Why didn't the Makefile change get applied? Can you update your tree with this 1 line removal?

Thanks,

Mike Krufky