Skip to contentSkip to conversation

How to add a new package?

Buildroot Conny Marco Menebröcker 3 participants 5 messages May 13, 2008 – May 17, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I tried to add a new package. Like discribed at
http://buildroot.uclibc.org/buildroot.html i created a Config.in and package.mk. If I add a line in buildroot/.config and type 'make', the package will be add to my created root filesystem.

But how can I add the package that I can activate the software with 'make menuconfig' ?
At a page that I found by google, I raed that I have to add my Config.in at buildroot/package/Config.in. But after 'make menuconfig' there isn't an entry for my new software.

What have I to do, to get an entry in menuconfig for my software?

Conny

Signature · 2 lines
Don't send me an personal e-mail since it will be filtered by my
spamfilter.
#1 lore raw

In package/Config.in add a:

source "package/your_package/Config.in"
Replace "your_package" with the directory name of your added package

Somewhere that makes sense for the package you are adding.

-----Original Message-----
From: [email protected] [mailto:buildroot-bounces at uclibc.org] On Behalf Of Conny Marco Menebr?cker
Sent: Tuesday, May 13, 2008 9:18 AM
To: buildroot at uclibc.org
Subject: [Buildroot] How to add a new package?

Hi,

I tried to add a new package. Like discribed at http://buildroot.uclibc.org/buildroot.html i created a Config.in and package.mk. If I add a line in buildroot/.config and type 'make', the package will be add to my created root filesystem.

But how can I add the package that I can activate the software with 'make menuconfig' ?
At a page that I found by google, I raed that I have to add my Config.in at buildroot/package/Config.in. But after 'make menuconfig' there isn't an entry for my new software.

What have I to do, to get an entry in menuconfig for my software?

Conny
--
Don't send me an personal e-mail since it will be filtered by my spamfilter.

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#2 lore raw

Thanks for the answer, but I had added the line before. Have I to run something else, than 'make menuconfig'? Have I to run 'make clean' or something else?

Conny

Am Dienstag, den 13.05.2008, 13:30 -0400 schrieb hartleys:

Quoted 30 lines

In package/Config.in add a:

source "package/your_package/Config.in"
Replace "your_package" with the directory name of your added package

Somewhere that makes sense for the package you are adding.

-----Original Message-----
From: buildroot-bounces at uclibc.org [mailto:buildroot-bounces at uclibc.org] On Behalf Of Conny Marco Menebr?cker
Sent: Tuesday, May 13, 2008 9:18 AM
To: buildroot at uclibc.org
Subject: [Buildroot] How to add a new package?

Hi,

I tried to add a new package. Like discribed at http://buildroot.uclibc.org/buildroot.html i created a Config.in and package.mk. If I add a line in buildroot/.config and type 'make', the package will be add to my created root filesystem.

But how can I add the package that I can activate the software with 'make menuconfig' ?
At a page that I found by google, I raed that I have to add my Config.in at buildroot/package/Config.in. But after 'make menuconfig' there isn't an entry for my new software.

What have I to do, to get an entry in menuconfig for my software?

Conny
--
Don't send me an personal e-mail since it will be filtered by my spamfilter.

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Signature · 2 lines
Don't send me an personal e-mail since it will be filtered by my
spamfilter.
#3 lore raw

Le Wed, 14 May 2008 22:18:36 +0200,
Conny Marco Menebr?cker <[email protected]> a ?crit :

Quoted 3 lines

Thanks for the answer, but I had added the line before. Have I to run something else, than 'make menuconfig'? Have I to run 'make clean' or something else?

No, just "make menuconfig". If the menu entry doesn't appear, it's probably because your Config.in changes are not correct.

Can you send the patch corresponding to your Buildroot modifications ? That way, instead of trying to guess in the dark, we could actually help you.

Sincerly,

Thomas

Signature · 11 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080515/0ea76b28/attachment-0001.pgp 
#4 lore raw

Am Donnerstag, den 15.05.2008, 14:28 +0200 schrieb Thomas Petazzoni:

Quoted 9 lines

Le Wed, 14 May 2008 22:18:36 +0200,
Conny Marco Menebr?cker <[email protected]> a ?crit :

Quoted 3 lines

Thanks for the answer, but I had added the line before. Have I to run something else, than 'make menuconfig'? Have I to run 'make clean' or something else?

No, just "make menuconfig". If the menu entry doesn't appear, it's probably because your Config.in changes are not correct.

Thanks, that was a good hint. I forgot a letter at the 'depends on' line.
Because there was no package selected with this wrong name, I couldn't see it in the configuration.

Quoted 12 lines

Can you send the patch corresponding to your Buildroot modifications ? That way, instead of trying to guess in the dark, we could actually help you.

Sincerly,

Thomas
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Signature · 2 lines
Don't send me an personal e-mail since it will be filtered by my
spamfilter.