summaryrefslogtreecommitdiff
path: root/config/config.mk
diff options
context:
space:
mode:
authorBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-05-31 14:27:39 (GMT)
committerBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-05-31 14:27:39 (GMT)
commit96245813d8e81bc4534e810e5daab639468ac20c (patch)
treed111d40ece0ed422647b70d53c99eaad44f8749e /config/config.mk
parent8f32ebcc88e6597dc16e59789ca1f63909d28215 (diff)
kconfig: remove useless 'default n'
kconfig bools are disabled by default, so specifying 'default n' is useless and noisy. This patch removes all occurrences of 'default n'. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'config/config.mk')
-rw-r--r--config/config.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/config/config.mk b/config/config.mk
index 1f9dc66..aaa04fa 100644
--- a/config/config.mk
+++ b/config/config.mk
@@ -106,12 +106,11 @@ define build_gen_choice_in
file="$(4)/$${entry}.in"; \
_entry=$$(echo "$${entry}" |$(sed) -r -s -e 's/[-.+]/_/g;'); \
echo ""; \
- if [ "$(5)" = "Y" ]; then \
- echo "config $(3)_$${_entry}_AVAILABLE"; \
- echo " bool"; \
- echo " default n if ! ( BACKEND_$(3) = \"$${entry}\" || BACKEND_$(3) = \"\" || ! BACKEND )"; \
- echo " default y if BACKEND_$(3) = \"$${entry}\" || BACKEND_$(3) = \"\" || ! BACKEND"; \
- fi; \
+ if [ "$(5)" = "Y" ]; then \
+ echo "config $(3)_$${_entry}_AVAILABLE"; \
+ echo " bool"; \
+ echo " default y if BACKEND_$(3) = \"$${entry}\" || BACKEND_$(3) = \"\" || ! BACKEND"; \
+ fi; \
echo "if $(3)_$${_entry}"; \
echo "config $(3)"; \
echo " default \"$${entry}\" if $(3)_$${_entry}"; \