All of lore.kernel.org
 help / color / mirror / Atom feed
* 'make deb-pkg' generates a linux-headers-(version) that skips some files
@ 2012-07-11 13:14 Martin-Éric Racine
  2012-07-11 13:46 ` maximilian attems
  0 siblings, 1 reply; 3+ messages in thread
From: Martin-Éric Racine @ 2012-07-11 13:14 UTC (permalink / raw)
  To: linux-kbuild; +Cc: debian-kernel

Greetings,

As a part of the debugging process for (
http://bugs.debian.org/677533/ ), I was asked to build myself a kernel
from HEAD, followed by standalone modules from an external tree,
following this procedure:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
git fetch origin
git reset --hard origin/master
cp /boot/config-$(uname -r) .config
scripts/config --disable DEBUG_INFO
make localmodconfig
make deb-pkg
sudo dpkg -i ../linux-image-3.5.0*.deb ../linux-headers-3.5.0*.deb
cd ..
wget http://moinejf.free.fr/gspca-2.15.18.tar.gz
tar -zxf gspca-2.15.18.tar.gz
cd gspca-2.15.18
make
sudo make install

Compilation of the standalone modules failed, because the
linux-headers package produced by 'make deb-pkg' failed to include
(arch/x86/Makefile_32.cpu), which had to be copied by hand to complete
the build.

I'm not sure whether this is due to an oversight or whether this is a
regression, much even less whether this is an upstream LKML issue or a
Debian issue, so I'm CC'ing both lists.

Hopefully, someone can figure out what went wrong and fix it.

Cheers!
Martin-Éric

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 'make deb-pkg' generates a linux-headers-(version) that skips some files
  2012-07-11 13:14 'make deb-pkg' generates a linux-headers-(version) that skips some files Martin-Éric Racine
@ 2012-07-11 13:46 ` maximilian attems
  2012-07-11 14:00   ` Martin-Éric Racine
  0 siblings, 1 reply; 3+ messages in thread
From: maximilian attems @ 2012-07-11 13:46 UTC (permalink / raw)
  To: Martin-Éric Racine; +Cc: linux-kbuild, debian-kernel

On Wed, Jul 11, 2012 at 04:14:08PM +0300, Martin-Éric Racine wrote:
> 
> Compilation of the standalone modules failed, because the
> linux-headers package produced by 'make deb-pkg' failed to include
> (arch/x86/Makefile_32.cpu), which had to be copied by hand to complete
> the build.
> 

It is already fixed in linux-next.

Best,

-- 
maks

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 'make deb-pkg' generates a linux-headers-(version) that skips some files
  2012-07-11 13:46 ` maximilian attems
@ 2012-07-11 14:00   ` Martin-Éric Racine
  0 siblings, 0 replies; 3+ messages in thread
From: Martin-Éric Racine @ 2012-07-11 14:00 UTC (permalink / raw)
  To: maximilian attems; +Cc: linux-kbuild, debian-kernel

2012/7/11 maximilian attems <maks@stro.at>:
> On Wed, Jul 11, 2012 at 04:14:08PM +0300, Martin-Éric Racine wrote:
>>
>> Compilation of the standalone modules failed, because the
>> linux-headers package produced by 'make deb-pkg' failed to include
>> (arch/x86/Makefile_32.cpu), which had to be copied by hand to complete
>> the build.
>
> It is already fixed in linux-next.

Excellent! Is there any particular reason not to merge this particular
fix into HEAD immediately?

Martin-Éric

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-11 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-11 13:14 'make deb-pkg' generates a linux-headers-(version) that skips some files Martin-Éric Racine
2012-07-11 13:46 ` maximilian attems
2012-07-11 14:00   ` Martin-Éric Racine

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.