Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to compile specific kernel directory

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
araneus
Posts: 1
Joined: 2015-11-09 11:17

How to compile specific kernel directory

#1 Post by araneus »

As the title says, is there a way to compile specific directory (not a module, just the directory)?
Takes so many hours to compile whole kernel with my old computer, so it would be nice to do check compiles every now and then for the changed directories only.

Lets say I modify files in drivers/tty/vt/ directory and want to do a test compile for this directory only.
Is that possible? Or do I have to compile the whole kernel once first and after that I can compile specific directories again after modifying them?

These do not work in this case:
cd drivers/tty/vt && make
make -C drivers/tty/vt

I am using Debian Jessie (686) with packages: kernel-package linux-source-3.16

Thanks.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How to compile specific kernel directory

#2 Post by GarryRicketson »

I don't know if this will help you, it might
https://wiki.debian.org/HowToRebuildAnO ... nelPackage

Post Reply