[lkml]   [2010]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectkconfig: report select on a depending option

    With the following combination of Kconfig config options, I can select
    TEST_Z, which will select TEST_X, even if TEST_Y=n. It also allows for
    awkward situations like TEST_Y=M, TEST_X=y, TEST_Z=y, which would yield
    a link time error when X uses Y's symbols.
    Is there a way to have such potential errors reported with kconfig?

    config TEST_Y
    tristate "Y"

    config TEST_X
    depends on Y
    tristate "X"

    config TEST_Z
    select TEST_Y
    tristate "Z"


     \ /
      Last update: 2010-03-18 10:23    [W:0.048 / U:5.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site