summaryrefslogtreecommitdiff
path: root/recipes-connectivity
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 /recipes-connectivity
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
Diffstat (limited to 'recipes-connectivity')
-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
2 files changed, 4 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