From: John Stile <john@stilen.com>
To: buildroot@busybox.net
Subject: [Buildroot] post-build script calling another buildroot fails
Date: Tue, 12 Feb 2013 13:30:26 -0800 [thread overview]
Message-ID: <1360704626.13529.179.camel@genx> (raw)
I am having a problem with one make buildroot calling another make
buildroot with a different configuration, via a post-build script.
One configuration is for NAND flash
Another configuration is for NOR flash.
The NAND flash .config calls a post-build script.
The post-build scrip tries to make the NOR buildroot.
If I run the script from the command line it works.
The error when called from NAND buildroot make:
make[1]: Entering directory
`/home/jstile/svn_rmserver/buildroot-2011.11'
make[1]: *** No rule to make target `project_failsafe_defconfig'. Stop.
make[1]: Leaving directory `/home/jstile/svn_rmserver/buildroot-2011.11'
Filesystem layout looks like this:
|
|-buildroot-2011.11/
| |-.config
| |-configs/project_failsafe_defconfig
| |-output/images/rootfs.jffs2
| \-post-build-script.bash
|
|-failsafe/
| |-images/rootfs.jffs2
'buildroot-2011.11' is where I build my NAND system.
'failsafe' is where I build my NOR system.
From buildroot-2011.11 directory, I run 'make', which calls my
post-build-script.bash as the post-build script.
The post-build script:
#!/bin/bash
mkdir -p ../failsafe
cd ../failsafe
make -C ../buildroot-2011.11 O=$(pwd) project_failsafe_defconfig
make
The first make statement is the source of the error message.
reply other threads:[~2013-02-12 21:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1360704626.13529.179.camel@genx \
--to=john@stilen.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox