Ralf Corsepius wrote:
On Fri, 2006-09-22 at 08:26 +0100, Andy Green wrote:
> Ralf Corsepius wrote:
>
>> Yes, rpmbuild --target is known not work, i.e. rpm is known not to
>> support cross building - Which had been the initial motivation for
>> --target.
> How you generalize it to being able to build any arch on demand I did
> not try yet,
Normally, you'd simply implement a
/usr/lib/rpm/<target>/macros
file reflecting a particular target's setup, but ....
I see, that would be convenient...
--target PLATFORM
When building the package, interpret PLATFORM as
arch-vendor-os and set the macros
%_target, %_target_cpu, and %_target_os accordingly.
What happens at the moment when you try to use --target then?
-Andy