LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 05-13-2009, 12:29 PM   #1
thelonesquirrely
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
scripting buildroot setup


Hello,

I am working to script the extraction and build of buildroot from its release tarball.

I am hungup on getting around the menu driven configuration.

So far what I am doing is
untarring the .tar.bz2,
copying in the config file (to buildroot/local/<project>/<project>.config)
trying to run 'make getconfiguration BOARD=<project>'.

When i do this i get the lines:
Makefile:231: .config.cmd: No such file or directory
make: *** No rule to make target `.config.cmd'. Stop.

If i open the menu (make menuconfig or make config) it will generate a basic .config.cmd and then I can quit, and do a the 'make get...' line.

I've tried to do a cp of the files that are different at the top level (.config and .config.cmd) and then just insert those after the untar, but to no avail. Any ideas on how I can get the configuration to load my configuration without user interaction?
 
Old 05-13-2009, 03:58 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You might look into use of "expect". This is a tool that you can use to wait for specific input then respond with a specific answer. It is often used for this kind of interactive thing. You may need to install expect first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Errors while configuring buildroot package. ravi_chobey Linux - Software 1 04-02-2009 07:22 PM
Buildroot www_linux Linux - Newbie 4 01-21-2009 10:33 PM
What do I do with a buildroot disk image? wbuik Linux - Software 1 01-16-2009 11:15 PM
OpenEmbedded or BuildRoot ? i_PingGuo Linux - Embedded & Single-board computer 0 01-06-2009 01:13 AM
uclibc buildroot failed to compile tcma Linux - Software 0 10-06-2004 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 12:03 AM.

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