LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-21-2013, 10:08 AM   #1
kells
LQ Newbie
 
Registered: Sep 2009
Location: Morecambe, North West England
Distribution: Ubuntu and Redhat
Posts: 14

Rep: Reputation: 0
Adding Package To Buildroot


Hi guys, my question relates to buildroot, I wasn't sure of the most appropriate place to put this, but I thought since buildroot compiles a custom linux version here would be the best place.

I'm trying to add a package to buildroot, but I'm not having much success. The package I'm trying to add is an autotools package called scew. I've followed the buildroot guidelines about adding packages, and although the package is listed when make menuconfig is run, when I run make the package is missing from the final rootfs.tar.

I've also copied over another simple .mk file that's used to install which, and changed the variable names and URL accordingly. Here is my copy of scew.mk:
Code:
SCEW_VERSION = 1.1.3
SCEW_SITE = http://savannah.nongnu.org/download/scew/
SCEW_LICENSE = GPLv3
SCEW_LICENSE_FILES = COPYING

$(eval $(autotools-package))
In the same directory I have Config.in, which looks like:

Code:
config BR2_PACKAGE_SCEW
   bool "scew"
   help
   google scew
I've also added the following lines to package/Config.in:

Code:
menu "My Packages"

 menu "Packages I Wrote"
 source "package/MyPackages/packagesIWrote/hello/Config.in"
 source "package/MyPackages/packagesIWrote/helloworld/Config.in"
 endmenu

 menu "External Packages"
 source "package/MyPackages/external-packages/scew/Config.in"
 endmenu

endmenu
This part seems to work, as the packages are listed and can be selected. The hello and helloworld packages are copies from a guide to adding packages, taken from this website (written in french):http://www.linuxembedded.fr/2011/03/...-en-5-minutes/

The hello world packages also do not work. I'd be glad of any advice at all, as it seems I'm just going around in circles on this one, and I can't see what I'm doing wrong.

Thanks,
James
 
Old 02-21-2013, 10:51 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
This probably needs to be moved to:
http://www.linuxquestions.org/questi...ux-software-2/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Buildroot m4 package make error parag_opensrc Linux - Embedded & Single-board computer 0 09-19-2009 01:43 AM
Errors while configuring buildroot package. ravi_chobey Linux - Software 1 04-02-2009 07:22 PM
make menuconfig -buildroot error can't open file "package/festival/speech-tool balraj Linux - Newbie 0 09-08-2008 01:05 PM
Anjuta 2.2.0 package adding ? queency Programming 0 11-09-2007 07:33 PM
adding a user from a package? akohlsmith Slackware 6 07-08-2002 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration