[oe-commits] Ulf Samuelsson : Use make <board>_defconfig to configure bootstrap
git version control
git at git.openembedded.org
Tue Aug 11 17:25:08 UTC 2009
Module: openembedded.git
Branch: ulf/linux-2.6.30.2
Commit: 0a417ddeb15935602d8440cec88ba8e70104870d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0a417ddeb15935602d8440cec88ba8e70104870d
Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date: Tue Aug 11 19:24:35 2009 +0200
Use make <board>_defconfig to configure bootstrap
---
recipes/at91bootstrap/at91bootstrap.inc | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/recipes/at91bootstrap/at91bootstrap.inc b/recipes/at91bootstrap/at91bootstrap.inc
index 2160f64..83d6efc 100644
--- a/recipes/at91bootstrap/at91bootstrap.inc
+++ b/recipes/at91bootstrap/at91bootstrap.inc
@@ -1,11 +1,8 @@
DESCRIPTION = "at91bootstrap: loaded into internal SRAM by AT91 BootROM"
SECTION = "bootloaders"
-SRC_URI = "ftp://www.at91.com/pub/buildroot/${PN}-${PV}.tar.bz2 \
- file://defconfig \
- "
S = "${WORKDIR}/${PN}-${PV}"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+PACKAGE_ARCH = "${AT91BOOTSTRAP_BOARD}"
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} DESTDIR=${DEPLOY_DIR_IMAGE} REVISION=${PR}"
do_compile () {
@@ -14,7 +11,7 @@ do_compile () {
unset CPPFLAGS
rm -Rf ${S}/binaries
- cp ${S}/../defconfig ${S}/.config
+ oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" ${PACKAGE_ARCH}_defconfig
oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}"
oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" boot
oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" install
More information about the Openembedded-commits
mailing list