Re: [U-Boot] Compiling certain files with extra compiler flags

2013-09-05 Thread Simon Glass
Hi Vadim, On Thu, Sep 5, 2013 at 10:50 AM, Vadim Bendebury wrote: > On Wed, Sep 4, 2013 at 8:16 PM, Simon Glass wrote: >> Hi Vadim, >> >> OK I see. >> >> You can do something like this: >> >> CFLAGS_arch/arm/cpu/tegra20-common/warmboot_avp.o += -march=armv4t >> >> (this is used by Tegra) >> >> R

Re: [U-Boot] Compiling certain files with extra compiler flags

2013-09-05 Thread Vadim Bendebury
On Wed, Sep 4, 2013 at 8:16 PM, Simon Glass wrote: > Hi Vadim, > > OK I see. > > You can do something like this: > > CFLAGS_arch/arm/cpu/tegra20-common/warmboot_avp.o += -march=armv4t > > (this is used by Tegra) > > Regards, > Simon > Ah, this works, thank you, Simon! --vb > > On Wed, Sep 4, 20

[U-Boot] Compiling certain files with extra compiler flags

2013-09-04 Thread Vadim Bendebury
Does u-boot provide the ability to change compilation options 'on the fly', say when certain files need to be compiled for symbolic debugging? I looked but did not find any. How about something like this: vvv $ git diff config.mk diff --git a/config.mk