[Buildroot] BR variable that points the built kernel
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Jun 10 08:36:06 UTC 2015
Dear Marco Pastorelli,
On Wed, 10 Jun 2015 10:29:16 +0200, Marco Pastorelli wrote:
> You're right, is there a way to use make variables inside the post-build
> script? Or this is a wrong approach?
Some of the make variables are passed in the environment of post build
script, but clearly not all of them. Especially the <pkg>_DIR variable
for each packages is not passed.
You're probably trying to do something that should be done in a
different way. You should have a package installing whatever you need
from $(LINUX_DIR) to $(TARGET_DIR) rather than doing it from a
post-build script.
However, your provide so little details about what you're trying to do
that it's quite impossible to give a good advice.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list