문제

I am pretty new to buildroot and I wish to add more than 1 post-build scripts, as the documentation says:

3.3.1. Customizing the generated target filesystem

In the Buildroot configuration, you can specify the paths to one or more post-build scripts. These scripts are called in the given order, after Buildroot builds all the selected software, but before the rootfs images are assembled. The BR2_ROOTFS_POST_BUILD_SCRIPT allows you to specify the location of your post-build scripts

http://buildroot.uclibc.org/downloads/manual/manual.html#rootfs-custom

How can I specify more than one value in a buildroot setting?

도움이 되었습니까?

해결책

See: buildroot Makefile, especially lines 782-784.

The string is passed to a shell's for loop. So a space separator should be used. Each script gets a TARGET_DIR parameter.

다른 팁

In fact, I am running Armadeus 5.2 which only includes Buildroot 2012.02, which does not allow more than 1 post build script. Buildroot 2013.02 does.

Current docs have made it clearer now:

To enable this feature, specify a space-separated list of post-build scripts in config option BR2_ROOTFS_POST_BUILD_SCRIPT

So space separated as Artless deduced from the source.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top