sharp-aticore-oss: patch makefile to get it working with make 3.81
authorMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 16 Mar 2006 14:00:52 +0000 (14:00 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 16 Mar 2006 14:00:52 +0000 (14:00 +0000)
packages/sharp-binary-only/sharp-aticore-oss-1.0.1/make381.patch [new file with mode: 0644]
packages/sharp-binary-only/sharp-aticore-oss_1.0.1.bb

diff --git a/packages/sharp-binary-only/sharp-aticore-oss-1.0.1/make381.patch b/packages/sharp-binary-only/sharp-aticore-oss-1.0.1/make381.patch
new file mode 100644 (file)
index 0000000..7aafb7f
--- /dev/null
@@ -0,0 +1,27 @@
+Index: AtiCore-1.0.1/Makefile
+===================================================================
+--- AtiCore-1.0.1.orig/Makefile        2006-03-16 12:58:58.000000000 +0100
++++ AtiCore-1.0.1/Makefile     2006-03-16 13:06:00.000000000 +0100
+@@ -9,22 +9,6 @@
+ all:  $(TARGETSHAREDLIB) testcore atitest
+-ifndef $(CC)
+-CC = armv5tel-linux-gcc
+-endif
+-ifndef $(AS)
+-AS = armv5tel-linux-as
+-endif
+-ifndef $(AR)
+-AR = armv5tel-linux-ar
+-endif
+-ifndef $(RANLIB)
+-RANLIB = armv5tel-linux-ranlib
+-endif
+-ifndef $(LD)
+-LD = armv5tel-linux-ld
+-endif
+-
+ ifeq "$(FPU)" "soft"
+ ASFLAGS=-mfpu=softfpa -mcpu=xscale
+ else
index a2d8acf..beb00d5 100644 (file)
@@ -2,11 +2,12 @@ DESCRIPTION = "Driver for the Ati W100 found on the Sharp Zaurus C[87]x0"
 SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "CLOSED"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://mirror1.pdaxrom.org/source/src/AtiCore-1.0.1.tar.bz2 \
                file://fixstretchblit.patch;patch=1 \
-               file://aticore-2.6.patch;patch=1"
+               file://aticore-2.6.patch;patch=1 \
+               file://make381.patch;patch=1"
 S = "${WORKDIR}/AtiCore-1.0.1"
 
 EXTRA_OEMAKE="CC='${CC}' AS='${AS}' AR='${AR}' LD='${LD}' FPU='${TARGET_FPU}'"