aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/i2c/i2c.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/i2c/i2c.bb')
-rw-r--r--recipes/i2c/i2c.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/i2c/i2c.bb b/recipes/i2c/i2c.bb
index 69b4c1cc32..14b6492056 100644
--- a/recipes/i2c/i2c.bb
+++ b/recipes/i2c/i2c.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "i2c init file and command line tool"
SECTION = "base"
PRIORITY = "required"
-PR = "r2"
+PR = "r3"
SRC_URI = " \
file://Config.h \
@@ -24,7 +24,7 @@ SRC_URI = " \
S = "${WORKDIR}"
do_compile () {
- ${CC} -o i2c *.c
+ ${CC} ${LDFLAGS} -o i2c *.c
}
do_install () {