From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 10 Jun 2015 10:36:06 +0200 Subject: [Buildroot] BR variable that points the built kernel In-Reply-To: References: <20150609140338.49987c19@free-electrons.com> <20150609160304.021d6edb@free-electrons.com> Message-ID: <20150610103606.31b56e0b@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 _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