linux-kirkwood-2.6.31: Fetch newer mach-types for MACHINE openrd-base only.
authorLeon Woestenberg <leon@sidebranch.com>
Sat, 19 Sep 2009 16:12:15 +0000 (18:12 +0200)
committerLeon Woestenberg <leon@sidebranch.com>
Sat, 19 Sep 2009 16:12:15 +0000 (18:12 +0200)
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
recipes/linux/linux-kirkwood_2.6.31.bb

index b8270ed..a40a09e 100644 (file)
@@ -19,8 +19,8 @@ SRC_URI = "git://git.marvell.com/orion.git;protocol=git \
            file://defconfig"
 
 # update machine types list for ARM architecture, only for machines that need it
-do_arm_mach_types_openrd-base() {
-  if test ${TARGET_ARCH} == arm; then
+do_arm_mach_types() {
+  if test ${MACHINE} == openrd-base; then
     curl -o mach-types "http://www.arm.linux.org.uk/developer/machines/download.php" && \
     cp mach-types arch/arm/tools/mach-types
   fi