[Buildroot] [PATCH 1/2] linux: Add Linux Kernel extensions menu

Benoît Mauduit benoit.mauduit at gmail.com
Wed Jul 20 08:10:36 UTC 2011


On Wed, Jul 20, 2011 at 8:12 AM, Thomas De Schampheleire
<patrickdepinguin+buildroot at gmail.com> wrote:
> Hi,
Hi !

> On Wed, Jul 13, 2011 at 5:52 PM,  <benoit.mauduit at gmail.com> wrote:
>> From: Benoit Mauduit <benoit.mauduit at openwide.fr>
>>
>> Add a kernel sub-menu (called "Linux Kernel Extensions"), which makes
>> possible to patch it or tweak the kernel build step.
>>
>>  * All linux/*.mk files will be read by the make process.
>>  * The menu can be customized in "linux/Config.ext.in".
>>
>> Signed-off-by: Benoit Mauduit <benoit.mauduit at openwide.fr>
>> ---
>>  Makefile            |    2 +-
>>  linux/Config.ext.in |    3 +++
>>  linux/Config.in     |    4 ++++
>>  3 files changed, 8 insertions(+), 1 deletions(-)
>>  create mode 100644 linux/Config.ext.in
>>
>> diff --git a/Makefile b/Makefile
>> index 2f3802c..27e4375 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -313,7 +313,7 @@ include package/*/*.mk
>>
>>  include boot/common.mk
>>  include target/Makefile.in
>> -include linux/linux.mk
>> +include linux/*.mk
>
> Shouldn't the linux.mk file be included *before* all the other .mk
> files? I can imagine that some of the extra .mk files depend on linux
> variables.
>

You are right, this is a mistake.
I suggest to name all linux makefile extension like that :
"xenomai_ext.mk".
And include them with:
include linux/*_ext.mk

Thanks !

-- 
Benoit Mauduit


More information about the buildroot mailing list