u-boot: Move the config target into do_configure
authorTom Rini <tom_rini@mentor.com>
Fri, 20 Aug 2010 16:58:55 +0000 (09:58 -0700)
committerTom Rini <tom_rini@mentor.com>
Fri, 20 Aug 2010 16:59:47 +0000 (09:59 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/u-boot/u-boot-utils-native_1.2.0.bb
recipes/u-boot/u-boot-utils_1.2.0.bb
recipes/u-boot/u-boot.inc

index adc7ce3..771f31b 100644 (file)
@@ -12,11 +12,10 @@ S = "${WORKDIR}/u-boot-${PV}"
 inherit native
 
 do_configure() {
-       :
+       oe_runmake Sandpoint8240_config
 }
 
 do_compile () {
-       oe_runmake Sandpoint8240_config
        oe_runmake tools
 }
 
index 7cf77b8..013de89 100644 (file)
@@ -18,11 +18,10 @@ TARGET_LDFLAGS = ""
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-${PV}"
 
 do_configure() {
-        :
+        oe_runmake Sandpoint8240_config
 }
 
 do_compile () {
-        oe_runmake Sandpoint8240_config
         oe_runmake tools
 }
 
index 323eaef..661bf36 100644 (file)
@@ -17,11 +17,14 @@ UBOOT_BINARY ?= "u-boot.bin"
 UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
 UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
 
+do_configure () {
+       oe_runmake ${UBOOT_MACHINE}
+}
+
 do_compile () {
        unset LDFLAGS
        unset CFLAGS
        unset CPPFLAGS
-       oe_runmake ${UBOOT_MACHINE}
        oe_runmake all
        oe_runmake tools env
 }