Hi Tyler, 2012/8/3 Tyler Olmstead <tyler.j.olmst...@gmail.com>:
> Yes, the #ifndef works perfectly for me. However, I also agree with > your sentiment regarding build magic, which is why I wonder if > removing the $GEN_UBOOT linker magic from the SPL makefile wouldn't be > the best approach. If this was done, then my U-Boot command wouldn't > have been linked into SPL in the first place, it wouldn't require any > cluttering of #ifdef's, and would eliminate the potential of others > encountering this same problem. This seems reasonable given that SPL > shouldn't contain any command support. Thoughts? > Most of the spl/Makefile code was copied and adapted from the top Makefile. Unfortunately, we have not optimized the GEN_UBOOT macro so it still has the UNDEF_SYM magic which is obviously unnecessary. I would suggest to remove the UNDEF_SYM magic. Best regards, Daniel _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot