lkml.org 
[lkml]   [2008]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: diet-kconfig: a script to trim unneeded kconfigs
    Takashi Iwai wrote:
    > At Fri, 19 Sep 2008 16:55:51 -0700,
    > Chris Li wrote:
    >
    >> I avoid arch/ and firmware/ because it is nasty. I figure module in
    >> arch/ is small enough I don't mind building it. And the firmware directory,
    >> if I don't build the module loads it. Those firmware will automatically skipped
    >> any way.
    >
    > Agreed.
    >
    >> The little tricky part is some thing like this:
    >> ========================
    >> ifeq ($(CONFIG_BLK_DEV_CMD640), m)
    >> obj-m += cmd640.o
    >> endif
    >> ========================
    >> Internally it get convert it into:
    >> "obj-$(CONFIG_BLK_DEV_CMD640) += cmd640.o"

    Are you sure?
    I.e. if you set CONFIG_BLK_DEV_CMD640=y, you see that
    the two constructs gives different results.

    If the makefile author did such complex construct, I
    really think there is a reason ;-)

    ciao
    cate


    >
    > This should be fixed in Makefile.
    > Care to submit a patch?
    >
    >
    > Takashi
    > --
    > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    > the body of a message to majordomo@vger.kernel.org
    > More majordomo info at http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at http://www.tux.org/lkml/



    \
     
     \ /
      Last update: 2008-09-22 15:41    [W:0.022 / U:0.048 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site