[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross compilation breaking sparc build?



On Wed, Aug 17, 2005 at 04:02:51PM -0400, Andres Salomon wrote:
> Specifying --arch $(ARCH) unconditionally is what's breaking the sparc kernel
> build (and it just seems like a bad idea).  First, shouldn't we just specify
> this if we're cross-compiling (ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))) ?
> Second, --arch's arg needs to match what include/asm points to; how to best
> handle that, I'm not sure.  

No, make-kpkg uses amd64 which is no kernel architecture. The sparc part
just needs correct subarch settings. See the powerpc config for an
example.

Bastian

-- 
	"Get back to your stations!"
	"We're beaming down to the planet, sir."
		-- Kirk and Mr. Leslie, "This Side of Paradise",
		   stardate 3417.3

Attachment: signature.asc
Description: Digital signature


Reply to: