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

Re: make-kpkg failure



On Mon, Oct 20, 2003 at 01:29:36PM +0200, Hubert Figuiere wrote:
> Hi,
> 
> 
> On Fri, 2003-10-17 at 14:24, Hubert Figuiere wrote:
> 
> > I'm trying to cross-compile on Debian i386 a PowerPC kernel for a custom
> > hardware running Debian/ppc, using kpkg-make (because I want to install
> > it with dpkg).
> > 
> > I do a: 
> > $ fakeroot make-kpkg --append-to-version=+fbx --revision=+1 --arch
> > powerpc kernel_image
> > 
> > But it fails with:
> [...]
> > cp
> > cp: missing file argument
> > Try `cp --help' for more information.
> > make[1]: *** [real_stamp_image] Error 1
> 
> I'm replying to my self.
> 
> I'm crosscompiling, and the makefile can't guess the subarch. Anyway,
> the subarch I want is not supported, I had to patch
> /usr/share/kernel-package/rules

Add the --subarch option to make-kpkg. Works fine for me who build
kernel for pmac, while on a chrp machine.

> Doing that allow me to have a .deb file.

I did that also, but you should ever read the documentation. The
--subarch option solves this without needing to patch.

Friendly,

Sven Luther



Reply to: