• Sam Ravnborg's avatar
    kconfig: error out if recursive dependencies are found · 5447d34b
    Sam Ravnborg authored
    Sample:
    config FOO
    	bool "This is foo"
    	depends on BAR
    
    config BAR
    	bool "This is bar"
    	depends on FOO
    
    This will result in following error message:
    error: found recursive dependency: FOO -> BAR -> FOO
    
    And will then exit with exit code equal 1 so make will stop.
    Inspired by patch from: Adrian Bunk <bunk@stusta.de>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    Cc: Adrian Bunk <bunk@stusta.de>
    Cc: Roman Zippel <zippel@linux-m68k.org>
    5447d34b
symbol.c 17.5 KB