summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/linux/linux-kirkwood_2.6.31.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/linux/linux-kirkwood_2.6.31.bb b/recipes/linux/linux-kirkwood_2.6.31.bb
index b8270ed597..a40a09e49a 100644
--- a/recipes/linux/linux-kirkwood_2.6.31.bb
+++ b/recipes/linux/linux-kirkwood_2.6.31.bb
@@ -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