All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: openembedded-devel@lists.openembedded.org
Subject: Ideas for scripts, to save work, when building several boards
Date: Thu, 13 Aug 2009 09:13:25 +0200	[thread overview]
Message-ID: <4A83BD15.7070006@atmel.com> (raw)

Since I will need to test multiple boards,
I decided to write some scripts which I will
check in later today in origin/ulf/linux-2.6.30.2

I generated a "MAKEALL" script which will
source a file "board_list.sh" with board build commands

<SOF>
build_board	sam9263dfc	x11-gpe-image
build_board	sam9g45ek	opie-image
build_board	sam9g10df	x11-gpe-image
build_board	sam9g20dfc	console-image
build_board	sam9260dfc	console-image
build_board	sam9261df	x11-image
build_board	sam9xedfc	console-image
<EOF>

The script assumes the existance of a "build-<board>"
directory with a configuration file in "build-<board>/conf".
"build-<board>/conf/local.conf" is a link to
"build-<board>/conf/<board>.conf"

I have also generated a script "scripts/make-local.conf.sh"
to automatically generate the "build-<board>" directory
with updates taken from definitions in "environment.sh"
in the topdirectory

<SOF>
#/bin/sh
# Example environment.sh

DOWNLOAD=/usr/local/install/downloads
MAKEJOBS=4
THREADS=4
KERNEL=2.6.30
<EOF>

You call
openembedded/scripts/make-local.conf.sh at91sam9263ek
to create the build-at91sam9263ek directory.

The MAKEALL script will prepare this directory
for full or incremental build and create
the symbolic link "build" before bitbake starts

-- 
Best Regards
Ulf Samuelsson




             reply	other threads:[~2009-08-13  7:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13  7:13 Ulf Samuelsson [this message]
2009-08-13  8:38 ` Ideas for scripts, to save work, when building several boards Koen Kooi
2009-08-13 10:07   ` Ulf Samuelsson
2009-08-13 11:23     ` Koen Kooi
2009-08-13 12:10       ` Ulf Samuelsson
2009-08-13 12:44         ` Koen Kooi
2009-08-13 15:23           ` Ulf Samuelsson
2009-08-13 16:30             ` Koen Kooi
2009-08-13 20:36               ` Ulf Samuelsson
2009-08-13 21:18                 ` Koen Kooi
2009-08-14  7:44                   ` Ulf Samuelsson
2009-08-20 19:41                     ` Marcin Juszkiewicz
2009-08-22  7:50                       ` Ulf Samuelsson
2009-08-24 16:39                         ` Otavio Salvador
2009-08-13 12:56         ` Holger Hans Peter Freyther
2009-08-13 13:55           ` Koen Kooi
2009-08-13 14:19             ` Holger Hans Peter Freyther
2009-08-13 12:18       ` Ulf Samuelsson
2009-08-13 12:46         ` Koen Kooi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A83BD15.7070006@atmel.com \
    --to=ulf.samuelsson@atmel.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.