Re: Trivial macro not expanded in kernel spec file %build

2011-06-07 Thread Martin Langhoff
On Tue, Jun 7, 2011 at 11:46 AM, Panu Matilainen wrote: > Hard to say without the entire spec, but one typical cause of "sometimes > works sometimes doesn't" issues with macros are %define's inside macro > {} blocks, which "work" until the first parametrized macro is called, > and after that it do

Re: Trivial macro not expanded in kernel spec file %build

2011-06-07 Thread Panu Matilainen
On 06/07/2011 05:23 PM, Martin Langhoff wrote: > I am hacking on a slighly modified kernel spec file for an OLPC arm > test kernel. While chasing strange build errors, I find that > %{image_install_path} isn't always being expanded. > > The resulting build script looks like > > http://fpaste.or

Trivial macro not expanded in kernel spec file %build

2011-06-07 Thread Martin Langhoff
I am hacking on a slighly modified kernel spec file for an OLPC arm test kernel. While chasing strange build errors, I find that %{image_install_path} isn't always being expanded. The resulting build script looks like http://fpaste.org/LQwR/#82 where %{image_install_path}, defined earlier as