[coreboot] v2 patch
ron minnich
rminnich at gmail.com
Mon Aug 17 19:23:29 CEST 2009
On Fri, Aug 14, 2009 at 6:19 PM, Peter Stuge<peter at stuge.se> wrote:
> ron minnich wrote:
>> $(obj)/ldscript.ld: $(ldscripts) $(obj)/ldoptions
>> - $(Q)printf 'INCLUDE "ldoptions"\n' > $@
>> - $(Q)printf '$(foreach ldscript,$(ldscripts),INCLUDE "$(ldscript)"\n)' >> $@
>> + $(Q)cat $(obj)/ldoptions> $@
>> + $(Q)cat $(ldscripts) >> $@
>
> This could be simplified a little at least with GNU make:
>
> $(Q)cat $^ > $@
>
> $^ will expand to all direct dependencies for the rule.
patches welcome.
ron
More information about the coreboot
mailing list