Skip to contentSkip to conversation

special post build step for u-boot?

DISCUSSION Steffen Sledz 1 participant 1 message Apr 30, 2010

lore
Share & tools
lore
#0 lore raw

We need to add a special post build step to u-boot for our machine.

This step consists of a concatenation of the built u-boot binary to another (fix) binary and after this running a tool on the resulting file.

The fix prefix file and the tool are built using another autotools based (native-)recipe and are installed to the related datadir resp. bindir.

My idea is to extended the u-boot recipe something like this:

DEPENDS_hipox += " specialtool-native "

do_deploy_append_hipox () {
	cat FOO/usr/share/specialtool/prefixfile ${DEPLOY_DIR_IMAGE}/BAR > ${DEPLOY_DIR_IMAGE}/BAR.wrapped
	specialtool ${DEPLOY_DIR_IMAGE}/BAR.wrapped
}

Is this the right way to do this?

If yes, what is the correct replacement for FOO and BAR?

Steffen