summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-07-30 14:04:14 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-30 14:04:14 +0000
commitdf204694e5f56d20006f4d0a88363198d0db029a (patch)
tree0227f23037b8c30bdc37deb24dcd6fb1e0dc75a4
parent674e06dc8d789e81f2617c0d06c6c83a8c0c3206 (diff)
Fix at76c503a crosscompile. Thanks to wrichter
-rw-r--r--packages/at76c503a/at76c503a-modules/.mtn2git_empty0
-rw-r--r--packages/at76c503a/at76c503a-modules/makefile.cc.patch11
-rw-r--r--packages/at76c503a/at76c503a-modules_cvs.bb7
3 files changed, 15 insertions, 3 deletions
diff --git a/packages/at76c503a/at76c503a-modules/.mtn2git_empty b/packages/at76c503a/at76c503a-modules/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/at76c503a/at76c503a-modules/.mtn2git_empty
diff --git a/packages/at76c503a/at76c503a-modules/makefile.cc.patch b/packages/at76c503a/at76c503a-modules/makefile.cc.patch
new file mode 100644
index 0000000000..c7a41990d3
--- /dev/null
+++ b/packages/at76c503a/at76c503a-modules/makefile.cc.patch
@@ -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)
diff --git a/packages/at76c503a/at76c503a-modules_cvs.bb b/packages/at76c503a/at76c503a-modules_cvs.bb
index 9673e5fb1b..8f11aeeff3 100644
--- a/packages/at76c503a/at76c503a-modules_cvs.bb
+++ b/packages/at76c503a/at76c503a-modules_cvs.bb
@@ -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