Re: [PATCH] builddeb: remove unneeded explicit Architecture
From: maximilian attems
Date: Thu Sep 06 2012 - 10:04:10 EST
On Thu, Sep 06, 2012 at 02:00:04PM +0000, maximilian attems wrote:
> On Wed, Sep 05, 2012 at 08:26:05PM +0000, maximilian attems wrote:
> > On Wed, Sep 05, 2012 at 07:40:09PM +0300, Tzafrir Cohen wrote:
> > >
> > > $ grep CROSS_COMPILE .config
> > > CONFIG_CROSS_COMPILE="arm-linux-gnueabihf-"
> > >
> > > Command:
> > >
> > > KBUILD_DEBARCH=armhf make ARCH=arm KBUILD_IMAGE=uImage deb-pkg
> > >
> > > Error I get:
> > >
> > > dpkg-gencontrol: error: current host architecture 'armhf' does not
> > > appear in package's architecture list (amd64)
> > >
> > > It seems I have to use KBUILD_DEBARCH, as the kernel build system can't
> > > really tell if I want armel or armhf (If I built the same kernel for a
> > > Squeeze system I would have been forced to use armel).
> >
> > well, obviously the dpkg call in
> > -arch=$(dpkg --print-architecture)
> > is wrong please fix that.
> >
>
> care to test belows:
>
without a useless snippet about the lost forcearch v2: