Re: kbuild: shorthand ym2y, ym2m etc

From: Russell King (rmk+lkml_at_arm.linux.org.uk)
Date: 01/30/05

  • Next message: Yoichi Yuasa: "[PATCH 2.6.11-rc2-mm2] mips: iomap"
    Date:	Sun, 30 Jan 2005 22:44:52 +0000
    To: Christoph Hellwig <hch@infradead.org>, linux-kernel@vger.kernel.org
    
    

    On Sun, Jan 30, 2005 at 11:39:26PM +0100, Sam Ravnborg wrote:
    > On Sun, Jan 30, 2005 at 07:52:30PM +0000, Christoph Hellwig wrote:
    > >
    > > obj-$(CONFIG_FB)$(CONFIG_PPC) += macmodes.o
    > >
    > > would be a lot more obvious, but I'm not sure how to handle
    > > it for the case where one of them evaluates to m
    >
    > The real problem is when say CONFIG_FB are empty. Then kbuild will see:
    > obj-$(CONFIG_PPC) which I doubt was what you wanted.
    >
    > This can be fixed by changing Kconfig to evaluate all known symbols to
    > either y,m,n - in contradiction to today where symbols that evaluate
    > to n is left empty.

    Isn't that rather hard to achieve, unless all Kconfig files (including
    all architecture specific ones) are read? Eg, CONFIG_PPC wouldn't
    exist on ARM.

    -- 
    Russell King
     Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
     maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                     2.6 Serial core
    -
    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/
    

  • Next message: Yoichi Yuasa: "[PATCH 2.6.11-rc2-mm2] mips: iomap"

    Relevant Pages

    • Re: Linux 2.6.0-test9
      ... > of LKML, it is much the same as telling people to wait for a ... Serial core ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: af_unix.c, KBUILD_MODNAME and unix
      ... maintainer of: 2.6 Serial core ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: 2.6.15-rc1-mm2 -- Bad page state at free_hot_cold_page (in process aplay, page c18eef30)
      ... > page get redirected to the first one, and it should work okay again. ... maintainer of: 2.6 Serial core ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: [PATCH][2.6] arch/arm/mm/tlb-v4wb.S needs to lose a header
      ... you do need asm/tlbflush.h here - we use the various tlb flag ... Serial core ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: What happened to SUSPEND_SAVE_STATE?
      ... Linux kernel maintainer of: ... Serial core ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)