Dear Marek Vasut, In message <201206221444.46242.ma...@denx.de> you wrote: > > I think we're missing each others point. So, lemme put it this way: > > We have CPU X, which uses sequence of commands, sequence A. > We have CPU Y, which uses sequence of commands, sequence B. > > We want make target M, which results in file named F. > > How do we make sure the target M will result in file F produced by sequence A > if > u-boot is configured for CPU X && file F produced by sequence B if u-boot is > configured for CPU Y ?
By cding the neeeded rules depending on what may be needed for one SoC or another. > I think I might have already answered myself ... u-boot is configured for CPU > X/CPU Y, right? Right. Such CPU (or ARCH) specific code should be placed in the respective CPU (or ARCH) specific Makefile, and everything will just work as expected. 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: w...@denx.de "In Christianity neither morality nor religion come into contact with reality at any point." - Friedrich Nietzsche _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot