[U-Boot] [PATCH v3 21/21] sandbox: Makefile changes to build sandbox architecture
Mike Frysinger
vapier at gentoo.org
Mon Oct 3 21:31:59 CEST 2011
On Monday, September 26, 2011 20:10:55 Simon Glass wrote:
> --- a/Makefile
> +++ b/Makefile
>
> +ifneq ($(CPU),sandbox)
> OBJS = $(CPUDIR)/start.o
> +endif
if you moved arch/sandbox/common/main.c to arch/sandbox/cpu/start.c, you
wouldn't need this. and logically, it seems like a good place for main() to
be ...
> +ifeq ($(CONFIG_SANDBOX),y)
> +GEN_UBOOT = \
> + cd $(LNDIR) && $(CC) $(SYMS) -T $(obj)u-boot.lds \
> + -Wl,--start-group $(__LIBS) -Wl,--end-group \
> + $(PLATFORM_LIBS) -Wl,-Map -Wl,u-boot.map -o u-boot
unfortunate that you can't utilize UNDEF_SYM ...
> GEN_UBOOT = \
> - UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \
> - sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;
> + UNDEF_SYM=`$(UNDEF)`; \
i don't see you defining "UNDEF" anywhere in this patch series ...
-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/20111003/ac25b4cd/attachment.pgp
More information about the U-Boot
mailing list