]> git.neil.brown.name Git - history.git/commit
[ARM] Ensure deselected config variables are defined to 'n'
authorRussell King <rmk@flint.arm.linux.org.uk>
Sun, 13 Oct 2002 11:36:29 +0000 (12:36 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 13 Oct 2002 11:36:29 +0000 (12:36 +0100)
commiteac00de171d7f5842ee921fef7e06874df157d86
tree876db37a48a655c8a59f7221cb4582e7826b4a71
parente34b499b7bda1c3838a73605e893335eb27871c3
[ARM] Ensure deselected config variables are defined to 'n'
To keep the Config.in files relatively clean, we use the
following construct:

 if [ "$CONFIG_ARM" = "y" ]; then
    dep_tristate 'Foo' CONFIG_FOO $CONFIG_BAR
 fi

where CONFIG_BAR is some machine implementation or high-level
chip support configuration option.  If CONFIG_BAR is left
empty, then the tristate is offered to the user, which isn't
what we want.  Defining CONFIG_BAR to 'n' prevents the option
being offered.

This is a rule I generally try to implement within
arch/arm/config.in.

This cset makes CONFIG_SA1111 and CONFIG_ARM_THUMB behave that
way.
arch/arm/config.in