public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* dead CONFIG variables in kernel Makefiles
@ 2007-03-26 23:32 Robert P. J. Day
  2007-03-26 23:37 ` Roland Dreier
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Robert P. J. Day @ 2007-03-26 23:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  the output from a short script i wrote, locating all CONFIG_
variables in makefiles that don't appear to exist in any Kconfig file
anywhere in the source tree.

  first, from the drivers/ directory:

===== DRM_FFB =====
./drivers/char/drm/Makefile:obj-$(CONFIG_DRM_FFB)   += ffb.o
===== INPUT_POWER =====
./drivers/input/Makefile:obj-$(CONFIG_INPUT_POWER)      += power.o
===== IPATH_CORE =====
./drivers/Makefile:obj-$(CONFIG_IPATH_CORE)     += infiniband/
===== L7200_KEYB =====
./drivers/acorn/char/Makefile:obj-$(CONFIG_L7200_KEYB)  += defkeymap-l7200.o keyb_l7200.o
===== RADIO_MIROPCM20 =====
./drivers/media/radio/Makefile:obj-$(CONFIG_RADIO_MIROPCM20) += miropcm20.o
===== RADIO_MIROPCM20_RDS =====
./drivers/media/radio/Makefile:obj-$(CONFIG_RADIO_MIROPCM20_RDS) += miropcm20-rds.o
===== SCSI_FD_8xx =====
./drivers/scsi/Makefile:obj-$(CONFIG_SCSI_FD_8xx)       += seagate.o
===== USB_EGALAX =====
./drivers/usb/input/Makefile:obj-$(CONFIG_USB_EGALAX)   += touchkitusb.o
===== USB_ITMTOUCH =====
./drivers/usb/input/Makefile:obj-$(CONFIG_USB_ITMTOUCH) += itmtouch.o
===== USB_MTOUCH =====
./drivers/usb/Makefile:obj-$(CONFIG_USB_MTOUCH) += input/
./drivers/usb/input/Makefile:obj-$(CONFIG_USB_MTOUCH)   += mtouchusb.o
===== USB_OHCI_AT91 =====
./drivers/usb/Makefile:obj-$(CONFIG_USB_OHCI_AT91)      += host/
===== ZS =====
./drivers/tc/Makefile:obj-$(CONFIG_ZS) += zs.o

  and from the fs/ directory:

===== NLS_ABC =====
./fs/nls/Makefile:obj-$(CONFIG_NLS_ABC)         += nls_abc.o
===== NLS_ISO8859_10 =====
./fs/nls/Makefile:obj-$(CONFIG_NLS_ISO8859_10)  += nls_iso8859-10.o

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dead CONFIG variables in kernel Makefiles
  2007-03-26 23:32 dead CONFIG variables in kernel Makefiles Robert P. J. Day
@ 2007-03-26 23:37 ` Roland Dreier
  2007-03-26 23:49 ` David Miller
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Roland Dreier @ 2007-03-26 23:37 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List

 > ===== IPATH_CORE =====
 > ./drivers/Makefile:obj-$(CONFIG_IPATH_CORE)     += infiniband/

Thanks, I was just noticing that myself.  I'll remove it for 2.6.22.

 - R.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dead CONFIG variables in kernel Makefiles
  2007-03-26 23:32 dead CONFIG variables in kernel Makefiles Robert P. J. Day
  2007-03-26 23:37 ` Roland Dreier
@ 2007-03-26 23:49 ` David Miller
  2007-03-27  0:34 ` Adrian Bunk
  2007-03-27 23:53 ` Adrian Bunk
  3 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2007-03-26 23:49 UTC (permalink / raw)
  To: rpjday; +Cc: linux-kernel

From: "Robert P. J. Day" <rpjday@mindspring.com>
Date: Mon, 26 Mar 2007 19:32:00 -0400 (EDT)

> 
>   the output from a short script i wrote, locating all CONFIG_
> variables in makefiles that don't appear to exist in any Kconfig file
> anywhere in the source tree.
> 
>   first, from the drivers/ directory:
> 
> ===== DRM_FFB =====
> ./drivers/char/drm/Makefile:obj-$(CONFIG_DRM_FFB)   += ffb.o

I'll take care of this one, thanks Robert.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dead CONFIG variables in kernel Makefiles
  2007-03-26 23:32 dead CONFIG variables in kernel Makefiles Robert P. J. Day
  2007-03-26 23:37 ` Roland Dreier
  2007-03-26 23:49 ` David Miller
@ 2007-03-27  0:34 ` Adrian Bunk
  2007-03-27 23:53 ` Adrian Bunk
  3 siblings, 0 replies; 7+ messages in thread
From: Adrian Bunk @ 2007-03-27  0:34 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List

On Mon, Mar 26, 2007 at 07:32:00PM -0400, Robert P. J. Day wrote:
> 
>   the output from a short script i wrote, locating all CONFIG_
> variables in makefiles that don't appear to exist in any Kconfig file
> anywhere in the source tree.
> 
>   first, from the drivers/ directory:
>...
> ===== RADIO_MIROPCM20 =====
> ./drivers/media/radio/Makefile:obj-$(CONFIG_RADIO_MIROPCM20) += miropcm20.o
> ===== RADIO_MIROPCM20_RDS =====
> ./drivers/media/radio/Makefile:obj-$(CONFIG_RADIO_MIROPCM20_RDS) += miropcm20-rds.o
>...

Part of an OSS driver removal, patch for 2.6.22 already submitted.

> rday

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dead CONFIG variables in kernel Makefiles
  2007-03-26 23:32 dead CONFIG variables in kernel Makefiles Robert P. J. Day
                   ` (2 preceding siblings ...)
  2007-03-27  0:34 ` Adrian Bunk
@ 2007-03-27 23:53 ` Adrian Bunk
  3 siblings, 0 replies; 7+ messages in thread
From: Adrian Bunk @ 2007-03-27 23:53 UTC (permalink / raw)
  To: Robert P. J. Day, ralf; +Cc: Linux Kernel Mailing List, linux-mips

On Mon, Mar 26, 2007 at 07:32:00PM -0400, Robert P. J. Day wrote:
> 
>   the output from a short script i wrote, locating all CONFIG_
> variables in makefiles that don't appear to exist in any Kconfig file
> anywhere in the source tree.
> 
>   first, from the drivers/ directory:
>...
> ===== ZS =====
> ./drivers/tc/Makefile:obj-$(CONFIG_ZS) += zs.o
>...

Ralf, is there any reason why the code for this driver is in Linus' 
tree, but the option (that is in the mips tree) is missing?

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 7+ messages in thread

* dead CONFIG variables in kernel Makefiles
@ 2007-07-06  9:55 Robert P. J. Day
  2007-07-06 14:55 ` Mike Frysinger
  0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2007-07-06  9:55 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  in addition to references to non-existent CONFIG variables in header
and source files, here's a list of such variables in Makefiles
throughout the entire tree:

===== BF548 =====
./arch/blackfin/Makefile:cpu-$(CONFIG_BF548) := bf548
===== BF549 =====
./arch/blackfin/Makefile:cpu-$(CONFIG_BF549) := bf549
===== BF_REV_0_0 =====
./arch/blackfin/Makefile:rev-$(CONFIG_BF_REV_0_0)  := 0.0
===== BF_REV_0_1 =====
./arch/blackfin/Makefile:rev-$(CONFIG_BF_REV_0_1)  := 0.1
===== CPU_ARM946T =====
./arch/arm/Makefile:tune-$(CONFIG_CPU_ARM946T)	:=$(call cc-option,-mtune=arm9e,-mtune=arm9tdmi)
===== CPU_FREQ_BF533 =====
./arch/blackfin/mach-bf533/Makefile:obj-$(CONFIG_CPU_FREQ_BF533) += cpu.o
===== CPU_R4000 =====
./arch/mips/kernel/Makefile:obj-$(CONFIG_CPU_R4000)		+= r4k_fpu.o r4k_switch.o
===== ETRAXFS_SIM =====
./arch/cris/arch-v32/kernel/Makefile:obj-$(CONFIG_ETRAXFS_SIM) += vcs_hook.o
===== L7200_KEYB =====
./drivers/acorn/char/Makefile:obj-$(CONFIG_L7200_KEYB)	+= defkeymap-l7200.o keyb_l7200.o
===== MACHINE =====
./arch/ppc/boot/simple/Makefile:# zimage-$(CONFIG_MACHINE) and zimagerd-$(CONFIG_MACHINE) to the target
./arch/ppc/boot/simple/Makefile:# that produces the desired image and they must set end-$(CONFIG_MACHINE)
./arch/ppc/boot/simple/Makefile:# than 'zImage.elf', set end-$(CONFIG_MACHINE) to be the suffix used for
./arch/ppc/boot/simple/Makefile:# set entrypoint-$(CONFIG_MACHINE) to the location which the image should be
./arch/ppc/boot/simple/Makefile:# loaded at.  The optimal setting for entrypoint-$(CONFIG_MACHINE) is the link
./arch/ppc/boot/simple/Makefile:# misc-$(CONFIG_MACHINE) variable.
===== NLS_ABC =====
./fs/nls/Makefile:obj-$(CONFIG_NLS_ABC)		+= nls_abc.o
===== NLS_ISO8859_10 =====
./fs/nls/Makefile:obj-$(CONFIG_NLS_ISO8859_10)	+= nls_iso8859-10.o
===== RADIO_MIROPCM20 =====
./drivers/media/radio/Makefile:obj-$(CONFIG_RADIO_MIROPCM20) += miropcm20.o
===== RADIO_MIROPCM20_RDS =====
./drivers/media/radio/Makefile:obj-$(CONFIG_RADIO_MIROPCM20_RDS) += miropcm20-rds.o
===== RXRPC =====
./net/Makefile:obj-$(CONFIG_RXRPC)		+= rxrpc/
===== SA1100_USB =====
./arch/arm/mach-sa1100/Makefile:#obj-$(CONFIG_SA1100_USB)		+= usb/
===== SCSI_FD_8xx =====
./drivers/scsi/Makefile:obj-$(CONFIG_SCSI_FD_8xx)	+= seagate.o
===== SOUND_ACI_MIXER =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_ACI_MIXER)	+= aci.o
===== SOUND_AD1816 =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_AD1816)	+= ad1816.o
===== SOUND_AD1889 =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_AD1889)	+= ad1889.o ac97_codec.o
===== SOUND_ADLIB =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_ADLIB)	+= adlib_card.o opl3.o
===== SOUND_EMU10K1 =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_EMU10K1)	+= ac97_codec.o
./sound/oss/Makefile:  obj-$(CONFIG_SOUND_EMU10K1)	+= sound.o
./sound/oss/Makefile:obj-$(CONFIG_SOUND_EMU10K1)	+= emu10k1/
./sound/oss/emu10k1/Makefile:obj-$(CONFIG_SOUND_EMU10K1) += emu10k1.o
===== SOUND_ES1371 =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_ES1371)	+= es1371.o ac97_codec.o
===== SOUND_FUSION =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_FUSION)	+= cs46xx.o ac97_codec.o
===== SOUND_NM256 =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_NM256)	+= nm256_audio.o ac97.o
===== SOUND_OPL3SA2 =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_OPL3SA2)	+= opl3sa2.o ad1848.o mpu401.o
===== SOUND_WM97XX =====
./sound/oss/Makefile:obj-$(CONFIG_SOUND_WM97XX)	+= ac97_plugin_wm97xx.o
===== TTY_LOG =====
./arch/um/os-Linux/Makefile:obj-$(CONFIG_TTY_LOG) += tty_log.o
./arch/um/os-Linux/Makefile:user-objs-$(CONFIG_TTY_LOG) += tty_log.o
===== USB_OHCI_AT91 =====
./drivers/usb/Makefile:obj-$(CONFIG_USB_OHCI_AT91)	+= host/
===== XTENSA_VARIANT_LINUX_CUSTOM =====
./arch/xtensa/Makefile:variant-$(CONFIG_XTENSA_VARIANT_LINUX_CUSTOM)	:= custom

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dead CONFIG variables in kernel Makefiles
  2007-07-06  9:55 Robert P. J. Day
@ 2007-07-06 14:55 ` Mike Frysinger
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2007-07-06 14:55 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List

On 7/6/07, Robert P. J. Day <rpjday@mindspring.com> wrote:
>
>   in addition to references to non-existent CONFIG variables in header
> and source files, here's a list of such variables in Makefiles
> throughout the entire tree:
>
> ===== BF548 =====
> ./arch/blackfin/Makefile:cpu-$(CONFIG_BF548) := bf548
> ===== BF549 =====
> ./arch/blackfin/Makefile:cpu-$(CONFIG_BF549) := bf549
> ===== BF_REV_0_0 =====
> ./arch/blackfin/Makefile:rev-$(CONFIG_BF_REV_0_0)  := 0.0
> ===== BF_REV_0_1 =====
> ./arch/blackfin/Makefile:rev-$(CONFIG_BF_REV_0_1)  := 0.1

that's because we couldnt push the rest of the BF54x port until the
new merge window ... they'll be defined with 2.6.23

> ===== CPU_FREQ_BF533 =====
> ./arch/blackfin/mach-bf533/Makefile:obj-$(CONFIG_CPU_FREQ_BF533) += cpu.o

we changed names in the Kconfig but didnt sync that Makefile ... the
others got updated
-mike

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-07-06 14:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-26 23:32 dead CONFIG variables in kernel Makefiles Robert P. J. Day
2007-03-26 23:37 ` Roland Dreier
2007-03-26 23:49 ` David Miller
2007-03-27  0:34 ` Adrian Bunk
2007-03-27 23:53 ` Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2007-07-06  9:55 Robert P. J. Day
2007-07-06 14:55 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox