1 |
On 2010-12-10, Grant Edwards <grant.b.edwards@×××××.com> wrote: |
2 |
|
3 |
> After I've built and installed a kernel and the in-tree-modules, is |
4 |
> there a way to clean the kernel source/build tree down to the minimal |
5 |
> set of files needed to build out-of-tree modules? |
6 |
> |
7 |
> I think you would end up with the same files that you would have |
8 |
> after doing "make modules_prepare" in a clean source tree with the |
9 |
> addition of the Module.symvers file. |
10 |
|
11 |
BTW, I did find where the kernel's top Makefile says: |
12 |
|
13 |
@echo 'Cleaning targets:' |
14 |
@echo ' clean - Remove most generated files but keep the config and' |
15 |
@echo ' enough build support to build external modules' |
16 |
|
17 |
Unfortunately, that's not true. Trying to build an external module |
18 |
fails because linux/bounds.h is missing. :/ |
19 |
|
20 |
I guess you just have to do a "make modules_prepare". |
21 |
|
22 |
-- |
23 |
Grant Edwards grant.b.edwards Yow! UH-OH!! We're out |
24 |
at of AUTOMOBILE PARTS and |
25 |
gmail.com RUBBER GOODS! |