[oe-commits] Chris Larson : devmem2: enable strict alignment
git version control
git at git.openembedded.org
Tue Jan 18 15:27:05 UTC 2011
Module: openembedded.git
Branch: master
Commit: ad5ce1595eca7b2ddd8b4e5a6ee6e67ff5ed80f0
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ad5ce1595eca7b2ddd8b4e5a6ee6e67ff5ed80f0
Author: Chris Larson <chris_larson at mentor.com>
Date: Tue Jan 18 08:23:33 2011 -0700
devmem2: enable strict alignment
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
recipes/devmem2/devmem2.bb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/recipes/devmem2/devmem2.bb b/recipes/devmem2/devmem2.bb
index 0baa7f0..2d1e67b 100644
--- 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 = "r6"
+PR = "r7"
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}
}
More information about the Openembedded-commits
mailing list