* [meta-oe][PATCH 0/1] digitemp build fixes
@ 2011-11-25 16:37 Otavio Salvador
2011-11-25 16:37 ` [meta-oe][PATCH 1/1] digitemp: fix build for non x86 architectures Otavio Salvador
0 siblings, 1 reply; 2+ messages in thread
From: Otavio Salvador @ 2011-11-25 16:37 UTC (permalink / raw)
To: openembedded-devel
The following changes since commit 7019fbb50796fedcedef6ff92981a7f26659a251:
mplayer: fix build with -Wl,-as-needed (2011-11-23 22:41:17 +0100)
are available in the git repository at:
git://github.com/OSSystems/meta-oe master
https://github.com/OSSystems/meta-oe/tree/master
Otavio Salvador (1):
digitemp: fix build for non x86 architectures
.../digitemp/digitemp/makefile-fix.patch | 20 ++++++++++++++++++++
meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb | 11 ++++++++++-
2 files changed, 30 insertions(+), 1 deletions(-)
create mode 100644 meta-oe/recipes-support/digitemp/digitemp/makefile-fix.patch
--
1.7.2.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [meta-oe][PATCH 1/1] digitemp: fix build for non x86 architectures
2011-11-25 16:37 [meta-oe][PATCH 0/1] digitemp build fixes Otavio Salvador
@ 2011-11-25 16:37 ` Otavio Salvador
0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2011-11-25 16:37 UTC (permalink / raw)
To: openembedded-devel
* fix Makefile to allow CC and CFLAGS override
* clean binaries before build
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
.../digitemp/digitemp/makefile-fix.patch | 20 ++++++++++++++++++++
meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb | 11 ++++++++++-
2 files changed, 30 insertions(+), 1 deletions(-)
create mode 100644 meta-oe/recipes-support/digitemp/digitemp/makefile-fix.patch
diff --git a/meta-oe/recipes-support/digitemp/digitemp/makefile-fix.patch b/meta-oe/recipes-support/digitemp/digitemp/makefile-fix.patch
new file mode 100644
index 0000000..c0d552d
--- /dev/null
+++ b/meta-oe/recipes-support/digitemp/digitemp/makefile-fix.patch
@@ -0,0 +1,20 @@
+digitemp: allow override of CC and CFLAGS vars
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+
+--- a/Makefile 2008-08-28 21:37:00.000000000 +0000
++++ b/Makefile 2011-11-24 22:22:39.882511272 +0000
+@@ -11,8 +11,9 @@
+
+ VERSION = 3.6.0
+
+-CC = gcc
+-CFLAGS = -I./src -I./userial -O2 -Wall # -g
++CC ?= gcc
++CFLAGS ?= -O2 -Wall # -g
++CFLAGS += -I./src -I./userial
+
+ OBJS = src/digitemp.o src/device_name.o src/ds2438.o
+ HDRS = src/digitemp.h src/device_name.h
diff --git a/meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb b/meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb
index e2ad691..9ebd9f6 100644
--- a/meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb
+++ b/meta-oe/recipes-support/digitemp/digitemp_3.6.0.bb
@@ -4,10 +4,19 @@ DEPENDS = "libusb1"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=44fee82a1d2ed0676cf35478283e0aa0"
-SRC_URI = "http://www.digitemp.com/software/linux/digitemp-${PV}.tar.gz"
+PR = "r1"
+
+SRC_URI = "http://www.digitemp.com/software/linux/digitemp-${PV}.tar.gz \
+ file://makefile-fix.patch"
inherit autotools
+EXTRA_OEMAKE = "ds9097 ds9097u"
+
+do_configure() {
+ rm digitemp_*
+}
+
do_install() {
install -d ${D}${sbindir}
install digitemp_* ${D}${sbindir}
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-25 16:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-25 16:37 [meta-oe][PATCH 0/1] digitemp build fixes Otavio Salvador
2011-11-25 16:37 ` [meta-oe][PATCH 1/1] digitemp: fix build for non x86 architectures Otavio Salvador
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox