.hgignore
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 26 22:51:03 2011 +0200 (2011-05-26)
changeset 2481 30644208c955
parent 2468 90595d1c1017
child 2621 00853d565edf
permissions -rw-r--r--
configure: add possibility to set arbitrary variable in check_for

If check_for is able to find the required prog/inc/lib, allow it to
set an arbitrary variable to 'y'. This variable is then pushed down
to the kconfig definition.

For example:
has_or_abort prog=foobar kconfig=has_foobar

If foobar is available, it yields a kconfig variable defaulting to y:
config CONFIGURE_has_foobar
bool
default y

If foobar is missing, it yields a kconfig variable defaulting to n:
config CONFIGURE_has_foobar
bool

Thus it is possible to depends on that variabel to show/hide options:
config SOME_FEATURE
bool
prompt "Some feature"
depends on CONFIGURE_has_foobar

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 syntax: glob
     2 
     3 # Generated files
     4 Makefile
     5 ct-ng
     6 docs/ct-ng.1
     7 docs/ct-ng.1.gz
     8 paths.mk
     9 scripts/crosstool-NG.sh
    10 scripts/saveSample.sh
    11 scripts/showTuple.sh
    12 kconfig/conf
    13 kconfig/?conf
    14 kconfig/**.o
    15 kconfig/**.dep
    16 config/configure.in
    17 config.gen/
    18 .config
    19 .config.2
    20 
    21 # Temporaries
    22 .*.swp
    23 build.log
    24 .config.old
    25 
    26 # This is the place where toolchains are built
    27 .build/
    28 # .. and the legacy location
    29 targets/