From patchwork Fri May 6 07:15:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: linux-omap-psp-2.6.32: Makefile change to revert AM3517EVM support and add CraneBoard support Date: Fri, 06 May 2011 07:15:45 -0000 From: Anil kumar M X-Patchwork-Id: 3293 Message-Id: <4dc3a025.5c3ae70a.4d3e.5577@mx.google.com> To: openembedded-devel@lists.openembedded.org Cc: koen@dominion.thruhere.net, srinath@mistralsolutions.com, paulepanter@users.sourceforge.net, nagendra@mistralsolutions.com This patch rectifies the drivers/usb/musb/Makefile to accommodate both AM3517EVM and CraneBoard for musb. Signed-off-by: Anil Kumar --- ...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 +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 +--- + 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 \