[oe] [PATCH] linux-omap-psp-2.6.32: Makefile change to revert AM3517EVM support and add CraneBoard support

Anil Kumar anilm at mistralsolutions.com
Fri May 6 07:15:45 UTC 2011


     This patch rectifies the drivers/usb/musb/Makefile to accommodate
     both AM3517EVM and CraneBoard for musb.

Signed-off-by: Anil Kumar <anilm at mistralsolutions.com>
---
 ...ange-to-revert-am3517-evm-support-and-to-.patch |   36 ++++++++++++++++++++
 recipes/linux/linux-omap-psp_2.6.32.bb             |    1 +
 2 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 recipes/linux/linux-omap-psp-2.6.32/0003-Makefile-change-to-revert-am3517-evm-support-and-to-.patch

diff --git a/recipes/linux/linux-omap-psp-2.6.32/0003-Makefile-change-to-revert-am3517-evm-support-and-to-.patch b/recipes/linux/linux-omap-psp-2.6.32/0003-Makefile-change-to-revert-am3517-evm-support-and-to-.patch
new file mode 100644
index 0000000..38d52f5
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.32/0003-Makefile-change-to-revert-am3517-evm-support-and-to-.patch
@@ -0,0 +1,36 @@
+From bf6347d8f42e053b187a499e5ed1fdf4f0992969 Mon Sep 17 00:00:00 2001
+From: Anil Kumar <anilm at mistralsolutions.com>
+Date: Thu, 5 May 2011 15:21:34 +0530
+Subject: [PATCH]  Makefile change to revert am3517-evm support and to add am3517-crane board support
+
+Signed-off-by: Anil Kumar <anilm at mistralsolutions.com>
+---
+ drivers/usb/musb/Makefile |   11 +++++++----
+ 1 files changed, 7 insertions(+), 4 deletions(-)
+
+diff --git a/drivers/usb/musb/Makefile b/drivers/usb/musb/Makefile
+index daf3415..8941549 100644
+--- a/drivers/usb/musb/Makefile
++++ b/drivers/usb/musb/Makefile
+@@ -19,11 +19,14 @@ ifeq ($(CONFIG_ARCH_OMAP2430),y)
+ endif
+ 
+ ifeq ($(CONFIG_ARCH_OMAP3430),y)
+-
+-   ifeq ($(CONFIG_MACH_CRANEBOARD),y)
+-	musb_hdrc-objs  += am3517.o
++   ifeq ($(CONFIG_MACH_OMAP3517EVM),y)
++        musb_hdrc-objs  += am3517.o
+    else
+-	musb_hdrc-objs	+= omap2430.o
++        ifeq ($(CONFIG_MACH_CRANEBOARD),y)
++	     musb_hdrc-objs  += am3517.o
++        else
++	     musb_hdrc-objs  += omap2430.o
++       endif
+    endif
+ endif
+ 
+-- 
+1.7.0.4
+
diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb
index 1a3ea66..94abc26 100644
--- a/recipes/linux/linux-omap-psp_2.6.32.bb
+++ b/recipes/linux/linux-omap-psp_2.6.32.bb
@@ -139,6 +139,7 @@ SRC_URI = "git://arago-project.org/git/projects/linux-omap3.git;protocol=http;br
            file://porches.patch \
            file://0001-OMAP3-craneboard-print-expansionboard-name-detected-.patch \
            file://0002-OMAP3-craneboard-add-support-for-TinCanTools-Trainer.patch \
+           file://0003-Makefile-change-to-revert-am3517-evm-support-and-to-.patch \
            file://defconfig"
 
 SRC_URI_append_beagleboard = " file://logo_linux_clut224.ppm \
-- 
1.7.0.4





More information about the Openembedded-devel mailing list