[PATCH] kernel: only build kernel-headers on ARM

Kedar Sovani kedars at marvell.com
Fri Jan 23 04:36:41 UTC 2009


On Thu, 2009-01-22 at 13:01 -0500, Kyle McMartin wrote:
> On Thu, Jan 22, 2009 at 10:42:02AM +0530, Kedar Sovani wrote:
> > Since kernels for different ARM CPUs differ wildly, and since
> > embedded folks tend to provide their own kernels, this patch makes
> > the Fedora kernel package only build kernel-headers when built for
> > ARM.
> > 
> > Signed-off-by: Lennert Buytenhek <buytenh at marvell.com>
> > Signed-off-by: Kedar Sovani <kedars at marvell.com>
> 
> Groovy! Just one comment that jwb brought up:
> 
> > +%ifarch %{arm}
> > +%define nobuildarches i386 s390 sparc %{arm}
> > 
> 
> I assume the %arm is defined by rpm to expand to the arm5xxxx
> bits? Is this in upstream rpm now?
> 

Yes, it is available.

# grep -nrs \%arm /usr/lib/rpm/*
macros:1195:%arm        armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l

> regards, Kyle


Thanks,
Kedar.




More information about the Fedora-kernel-list mailing list