mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 05:43:09 +00:00
configure: use def_bool for available features
It's one line shorter, and easier to read. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
68cd6e6d26
commit
9a9e8385ba
@ -198,9 +198,10 @@ config/configure.in: FORCE
|
||||
for var in $(KCONFIG); do \
|
||||
printf "\n"; \
|
||||
printf "config CONFIGURE_$${var%%=*}\n"; \
|
||||
printf " bool\n"; \
|
||||
if [ "$${var#*=}" = "y" ]; then \
|
||||
printf " default y\n"; \
|
||||
printf " def_bool y\n"; \
|
||||
else \
|
||||
printf " bool\n"; \
|
||||
fi; \
|
||||
done; \
|
||||
} >$@
|
||||
|
Loading…
Reference in New Issue
Block a user