From: Wolfgang Denk Date: Tue, 01 Sep 2009 08:38:24 +0200 Subject: [U-Boot] ARM preprocessor error generating assembly dependencies In-Reply-To: <4A9CBB9D.6030502@googlemail.com> References: <4A9B8C3C.7080807@googlemail.com> <20090831104007.CD462834A950@gemini.denx.de> <4A9BC756.1080906@googlemail.com> <4A9BC95F.1000306@googlemail.com> <4A9CBB9D.6030502@googlemail.com> Message-ID: <20090901063824.78D6D834A950@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Dirk Behme, In message <4A9CBB9D.6030502@googlemail.com> you wrote: > > Sorry if I'm wrong, but looking into top level rules.mk ... > this doesn't distinguish between .c and .S sources? No, it does not. > That is, it doesn't use AFLAGS set in config.mk to generate assembly > dependencies? So setting -D__ASSEMBLY__ while generating assembly > dependencies is missing here? It's not needed. At least for none of the files in mainline. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If it has syntax, it isn't user friendly.