From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 1/2] kbuild: asm-generic support Date: Sun, 9 Jan 2011 17:13:01 +0100 Message-ID: <201101091713.02243.arnd@arndb.de> References: <20110108130302.GA21698@merkur.ravnborg.org> <201101091503.34783.arnd@arndb.de> <20110109151041.GA17237@merkur.ravnborg.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110109151041.GA17237@merkur.ravnborg.org> Sender: linux-kbuild-owner@vger.kernel.org To: Sam Ravnborg Cc: lkml , linux-kbuild , linux arch , Guan Xuetao , Michal Marek , Stephen Rothwell List-Id: linux-arch.vger.kernel.org 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