Dear Charles, In message <cae21aqp2gspedrdakio1wpa3vgtwjd-3d1wsqm0whg9r-8b...@mail.gmail.com> you wrote: > > > > I asked before: Can we not use "ALL-$(CONFIG_SOCFPGA)" and avoid the > > > ifdef ? ... > I can certainly avoid the ifdef, but there is already another one three > lines down > for the SAMSUNG case: > > ifdef CONFIG_SOCFPGA > ALL-y += $(OBJTREE)/socfpga-signed-preloader.bin > endif > > ifdef CONFIG_SAMSUNG > ALL-y += $(obj)/$(BOARD)-spl.bin > endif > > It seems odd to me that you would want different conventions in the same > Makefile, > but if that is what you want then that is what you will get.
Existing poor code should not be used as reference for adding new bad code. If possible, it should be imprived -patches are welcome. In any case, please avoid the issues in new code. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Hacking's just another word for nothing left to kludge. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

