]> git.sur5r.net Git - u-boot/commit
arm: mxs: Preprocess u-boot.bd so they contain full path
authorMarek Vasut <marex@denx.de>
Sun, 28 Apr 2013 14:18:49 +0000 (14:18 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 6 May 2013 08:37:36 +0000 (10:37 +0200)
commit714dc001fcd99809f5166b4383343a7b0d16fd6b
treeb76ffdcfcd189f1a8b2903dedc3fe700499e65a9
parentdd3ecf020ec6e1932c473ef504e56a036b52bd4e
arm: mxs: Preprocess u-boot.bd so they contain full path

The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise
they have issues with out-of-tree build where elftosb tool couldn't sometimes
find the u-boot.bin and spl/u-boot-spl.bin .

Preprocess these .bd files with sed and insert full path to u-boot.bin and
spl/u-boot-spl.bin to prevent this issue. Moreover, to avoid adding more
churn into main Makefile, move all this preprocessing and u-boot.sb generation
into CPU directory instead.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
.gitignore
Makefile
arch/arm/cpu/arm926ejs/mxs/Makefile
arch/arm/cpu/arm926ejs/mxs/u-boot-imx23.bd
arch/arm/cpu/arm926ejs/mxs/u-boot-imx28.bd