summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-04-03 12:47:22 -0500
committerJohn Klug <john.klug@multitech.com>2017-05-23 15:21:54 -0500
commit18ce886647f912cc77cd1f78236061f9ba0b5db0 (patch)
tree8928cdac2009c71979ba0daba5d45e9cc3d00afc
parent023383fc98da6a34b8eba7cbcde380e0a967a220 (diff)
downloadmeta-mlinux-18ce886647f912cc77cd1f78236061f9ba0b5db0.tar.gz
meta-mlinux-18ce886647f912cc77cd1f78236061f9ba0b5db0.tar.bz2
meta-mlinux-18ce886647f912cc77cd1f78236061f9ba0b5db0.zip
Use make with e option and add gnu11 as C standard
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-usb_1.4.1.bb4
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder_3.1.0.bb2
-rw-r--r--recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb1
-rw-r--r--recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb1
4 files changed, 6 insertions, 2 deletions
diff --git a/recipes-connectivity/lora/lora-packet-forwarder-usb_1.4.1.bb b/recipes-connectivity/lora/lora-packet-forwarder-usb_1.4.1.bb
index 903d1e5..00aaad9 100644
--- a/recipes-connectivity/lora/lora-packet-forwarder-usb_1.4.1.bb
+++ b/recipes-connectivity/lora/lora-packet-forwarder-usb_1.4.1.bb
@@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=22af7693d7b76ef0fc76161c4be76c45"
DEPENDS = "lora-gateway-usb"
PR = "r10"
+EXTRA_OEMAKE = " -e"
+
# tag v1.4.1
SRCREV = "0011a60759a7d81656a5393e97089daab1ff1a81"
@@ -30,7 +32,7 @@ LORA_DIR = "/opt/lora"
export LGW_PATH = "${STAGING_LIBDIR}/lora-usb"
export LGW_INC = "${STAGING_INCDIR}/lora-usb"
-CFLAGS += "-I${LGW_INC} -Iinc -I."
+CFLAGS += "-I${LGW_INC} -Iinc -I. -std=gnu11"
do_compile() {
oe_runmake
diff --git a/recipes-connectivity/lora/lora-packet-forwarder_3.1.0.bb b/recipes-connectivity/lora/lora-packet-forwarder_3.1.0.bb
index 33c24a0..06b96ee 100644
--- a/recipes-connectivity/lora/lora-packet-forwarder_3.1.0.bb
+++ b/recipes-connectivity/lora/lora-packet-forwarder_3.1.0.bb
@@ -34,7 +34,7 @@ LORA_DIR = "/opt/lora"
export LGW_PATH = "${STAGING_LIBDIR}/lora"
export LGW_INC = "${STAGING_INCDIR}/lora"
-CFLAGS += "-I${LGW_INC} -Iinc -I. -std=gnu11 "
+CFLAGS += "-I${LGW_INC} -Iinc -I. -std=gnu11"
do_compile() {
oe_runmake
diff --git a/recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb b/recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb
index a020f90..f00c45c 100644
--- a/recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb
+++ b/recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb
@@ -15,6 +15,7 @@ SRCREV = "709e385f6d20aaadc7f3252af59250336d27e607"
SRC_URI = "git://github.com/hparra/ruby-serialport.git;protocol=git"
S = "${WORKDIR}/git"
+B = "${S}"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -Iext/native -I${STAGING_INCDIR}/ruby-1.9.1 -I${STAGING_INCDIR}/ruby-1.9.1/arm-linux-eabi -c ext/native/*.c
diff --git a/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb b/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb
index b3210e6..d0cb2b6 100644
--- a/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb
+++ b/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb
@@ -12,6 +12,7 @@ PR = "r0"
SRC_URI = "git://github.com/luislavena/sqlite3-ruby.git;tag=v${PV};protocol=git"
S = "${WORKDIR}/git"
+B = "${S}"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -Iext/sqlite3 -Iext/native -I${STAGING_INCDIR}/ruby-1.9.1 -I${STAGING_INCDIR}/ruby-1.9.1/arm-linux-eabi -c ext/sqlite3/*.c