linux-omap-psp-2.6.32: Makefile change to revert AM3517EVM support and add CraneBoard support
PATCH 1/1 linux-omap-psp-2.6.32: Makefile change to revert AM3517EVM support and add CraneBoard support
This patch rectifies the drivers/usb/musb/Makefile to accommodate both AM3517EVM and CraneBoard for musb.
Signed-off-by Anil Kumar <[email protected]>
--- ...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
recipes/linux/linux-omap-psp-2.6.32/0003-Makefile-change-to-revert-am3517-evm-support-and-to-.patch new file +36 -0
@@ -0,0 +1,36 @@ +From bf6347d8f42e053b187a499e5ed1fdf4f0992969 Mon Sep 17 00:00:00 2001 +From: Anil Kumar <[email protected]> +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 <[email protected]> +--- + 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 +
recipes/linux/linux-omap-psp_2.6.32.bb +1 -0
@@ -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 \
Signature · 1 line
1.7.0.4