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

Re: Rebuilding the linux kernel quickly

On Thu, 2016-06-02 at 09:12 +0200, Mathieu Malaterre wrote:

> Hi,
> I am starring at the documentation for rebuilding the Debian kernel.
> I'd like to test a change in a non-module section of the kernel code
> (CONFIG_FB_OF=y), to resolve #825840. So I thought I could simply
> follows the steps from:
> https://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s4.2.5
> [...]
> # apt-get install build-essential fakeroot
> # apt-get build-dep linux
> $ mkdir tmp && cd tmp
> $ apt-get source linux-image-$(uname -r)
> $ cd linux-*
> $ fakeroot debian/rules source
> $ fakeroot make -f debian/rules.gen binary-arch_powerpc_none_powerpc
> [...]
> dh_installdocs
> dh_installchangelogs
> dh_strip
> Can't exec "-objcopy": No such file or directory at
> Does anyone know how to build only the powperpc flavor from a powerpc system ?

I think there's been a regression somewhere in the rules for setting
architecture variables.  Adding 'dpkg-architecture -apowerpc -c' in
front of the command may help.


Ben Hutchings
All the simple programs have been written, and all the good names

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: