[oe-commits] Koen Kooi : dsplink: remove reference to asm/page.h

git version control git at git.openembedded.org
Mon Nov 2 14:24:53 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 15704b460bf5722b83b617e25a2f4d96cd755812
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=15704b460bf5722b83b617e25a2f4d96cd755812

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Nov  2 15:23:23 2009 +0100

dsplink: remove reference to asm/page.h

---

 recipes/ti/ti-dsplink-module_1.61.3.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes/ti/ti-dsplink-module_1.61.3.bb b/recipes/ti/ti-dsplink-module_1.61.3.bb
index c19ed7e..2cdf1a8 100644
--- a/recipes/ti/ti-dsplink-module_1.61.3.bb
+++ b/recipes/ti/ti-dsplink-module_1.61.3.bb
@@ -8,7 +8,7 @@ DEPENDS 	+= "virtual/kernel perl-native ti-dspbios-native ti-cgt6x-native update
 
 # tconf from xdctools dislikes '.' in pwd :/
 #This is a kernel module, don't set PR directly
-MACHINE_KERNEL_PR_append = "a"                                                  
+MACHINE_KERNEL_PR_append = "b"                                                  
 PV = "1613"
 
 SRC_URI = "http://install.source.dir.local/dsplink_1_61_03.tar.gz \
@@ -40,6 +40,10 @@ STAGING_TI_XDCTOOL_INSTALL_DIR="${STAGING_DIR_NATIVE}/ti-xdctools-native"
 
 do_compile() {
 
+	# asm/page.h is gone with linux-libc-headers 2.6.31.
+	# We can safely sed it out since it has been empty for the past 2 years
+	sed -i /page.h/d ${S}/dsplink/gpp/src/api/Linux/drv_api.c 
+
     # Run perl script to create appropriate makefiles (v1.60 and up)
     (
     cd ${DSPLINK}





More information about the Openembedded-commits mailing list