[U-Boot] [PATCH v2] makefiles: fixes for building build tools
Mike Frysinger
vapier at gentoo.org
Fri Nov 13 19:51:11 CET 2009
On Wednesday 04 November 2009 19:41:41 Scott Wood wrote:
> --- a/rules.mk
> +++ b/rules.mk
>
> +$(HOSTOBJS): $(obj)%.o: %.c
> + $(HOSTCC) $(HOSTCFLAGS) $(HOSTCFLAGS_$(@F)) $(HOSTCFLAGS_$(BCURDIR)) -o
> $@ $< -c
> +$(NOPEDOBJS): $(obj)%.o: %.c
> + $(HOSTCC) $(HOSTCFLAGS_NOPED) $(HOSTCFLAGS_$(@F))
> $(HOSTCFLAGS_$(BCURDIR)) -o $@ $< -c
wouldnt these make more sense in config.mk with all the other patterns. and
create a pattern target for creating host executables. you should be able to
combine all the duplicated patterns in tools/Makefile once you do.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20091113/a7804200/attachment.pgp
More information about the U-Boot
mailing list