git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23e2a9d
)
devmem2: enable strict alignment
author
Chris Larson
<chris_larson@mentor.com>
Tue, 18 Jan 2011 15:23:33 +0000
(08:23 -0700)
committer
Chris Larson
<chris_larson@mentor.com>
Tue, 18 Jan 2011 15:23:33 +0000
(08:23 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
recipes/devmem2/devmem2.bb
patch
|
blob
|
history
diff --git
a/recipes/devmem2/devmem2.bb
b/recipes/devmem2/devmem2.bb
index
0baa7f0
..
2d1e67b
100644
(file)
--- a/
recipes/devmem2/devmem2.bb
+++ b/
recipes/devmem2/devmem2.bb
@@
-1,11
+1,13
@@
DESCRIPTION = "Simple program to read/write from/to any location in memory."
LICENSE = "GPLv2"
-PR = "r
6
"
+PR = "r
7
"
SRC_URI = "http://www.lartmaker.nl/lartware/port/devmem2.c \
file://devmem2-fixups-2.patch;apply=yes;striplevel=0"
S = "${WORKDIR}"
+CFLAGS += "-DFORCE_STRICT_ALIGNMENT"
+
do_compile() {
${CC} -o devmem2 devmem2.c ${CFLAGS} ${LDFLAGS}
}