[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201101091713.02243.arnd@arndb.de>
Date: Sun, 9 Jan 2011 17:13:01 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Sam Ravnborg <sam@...nborg.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
"linux-kbuild" <linux-kbuild@...r.kernel.org>,
linux arch <linux-arch@...r.kernel.org>,
Guan Xuetao <guanxuetao@...c.pku.edu.cn>,
Michal Marek <mmarek@...e.cz>,
Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: [PATCH 1/2] kbuild: asm-generic support
On Sunday 09 January 2011, Sam Ravnborg wrote:
> @@ -31,10 +31,10 @@ check-file := $(install)/.check
> # generic-export-y list all generic headers to be exported
> # generic-y list all files an architecture uses from asm-generic
> # Use this to build a list of headers which require a wrapper
> -wrapper-files := $(filter $(generic-export-y), $(generic-y))
> +wrapper-files := $(filter $(header-y), $(generic-y))
>
> # all headers files for this dir
> -header-y := $(filter-out $(wrapper-files), $(header-y))
> +header-y := $(filter-out $(generic-y), $(header-y))
> all-files := $(header-y) $(objhdr-y) $(generic-y)
> input-files := $(addprefix $(_src)/,$(header-y)) \
> $(addprefix $(objtree)/$(obj)/,$(objhdr-y))
>
> And then reverting the changes to Kbuild.asm.
> Yes this works - and is much simpler. Good!
Ok, excellent!
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists