Fix at76c503a crosscompile. Thanks to wrichter
authorOyvind Repvik <nail@nslu2-linux.org>
Sat, 30 Jul 2005 14:04:14 +0000 (14:04 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 30 Jul 2005 14:04:14 +0000 (14:04 +0000)
packages/at76c503a/at76c503a-modules/.mtn2git_empty [new file with mode: 0644]
packages/at76c503a/at76c503a-modules/makefile.cc.patch [new file with mode: 0644]
packages/at76c503a/at76c503a-modules_cvs.bb

diff --git a/packages/at76c503a/at76c503a-modules/.mtn2git_empty b/packages/at76c503a/at76c503a-modules/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/at76c503a/at76c503a-modules/makefile.cc.patch b/packages/at76c503a/at76c503a-modules/makefile.cc.patch
new file mode 100644 (file)
index 0000000..c7a4199
--- /dev/null
@@ -0,0 +1,11 @@
+--- at76c503a/Makefile.old     2005-07-29 21:57:34.000000000 +0200
++++ at76c503a/Makefile 2005-07-29 21:57:43.000000000 +0200
+@@ -9,7 +9,7 @@
+ #     the License, or (at your option) any later version.
+ #
+-CC=gcc
++#CC=gcc
+ ifneq (,$(KVERS))
+  KERNEL_VERSION=$(KVERS)
index 9673e5f..8f11aee 100644 (file)
@@ -1,14 +1,15 @@
 SECTION = "base"
 LICENSE = "GPL"
-SRC_URI = "cvs://anonymous@cvs.berlios.de/cvsroot/at76c503a;module=at76c503a"
+SRC_URI = "cvs://anonymous@cvs.berlios.de/cvsroot/at76c503a;module=at76c503a \
+          file://makefile.cc.patch;patch=1"
 S = "${WORKDIR}/at76c503a"
 PR = "r1"
 PV = "0.0cvs${CVSDATE}"
 
 inherit module
 
-MODULES = "at76c503.o at76_usbdfu.o at76c503-i3861.o at76c503-rfmd.o at76c503-rfmd-acc.o \
-           at76c505-rfmd.o at76c503-i3863.o at76c505-rfmd2958.o"
+MODULES = "at76c503.ko at76_usbdfu.ko at76c503-i3861.ko at76c503-rfmd.ko at76c503-rfmd-acc.ko \
+           at76c505-rfmd.ko at76c503-i3863.ko at76c505-rfmd2958.ko"
 
 pkg_postinst() {
 #!/bin/sh