'make deb-pkg' generates a linux-headers-(version) that skips some files

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

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux