[PATCH] arm64: Set UTS_MACHINE in the Makefile

Will Deacon will.deacon at arm.com
Tue Aug 30 04:20:36 PDT 2016


On Tue, Aug 30, 2016 at 12:50:41PM +0200, Michal Marek wrote:
> On 2016-08-30 11:53, Will Deacon wrote:
> > On Tue, Aug 30, 2016 at 10:31:35AM +0200, Michal Marek wrote:
> >> The make rpm target depends on proper UTS_MACHINE definition.  Also, use
> >> the variable in arch/arm64/kernel/setup.c, so that it's not accidentally
> >> removed in the future.
> >>
> >> Reported-and-tested-by: Fabian Vogt <fvogt at suse.com>
> >> Signed-off-by: Michal Marek <mmarek at suse.com>
> >> ---
> > 
> > What exactly do you mean by "proper", here? Is it just the endianness
> > suffix that you need?
> 
> The default for UTS_MACHINE is the kbuild arch name, which would be arm64.

Ok, but why doesn't that work for rpm?
Did you see the other part of my reply?

Will



More information about the linux-arm-kernel mailing list