summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-connectivity/lora/lora-gateway-usb_1.7.0mts.bb14
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-usb_1.4.1.bb4
2 files changed, 9 insertions, 9 deletions
diff --git a/recipes-connectivity/lora/lora-gateway-usb_1.7.0mts.bb b/recipes-connectivity/lora/lora-gateway-usb_1.7.0mts.bb
index 64ad81f..382328d 100644
--- a/recipes-connectivity/lora/lora-gateway-usb_1.7.0mts.bb
+++ b/recipes-connectivity/lora/lora-gateway-usb_1.7.0mts.bb
@@ -31,11 +31,11 @@ do_compile() {
}
do_install() {
- install -d ${D}${includedir}/lora
- install -d ${D}${libdir}/lora
- install -m 0644 libloragw/libloragw.a ${D}${libdir}/lora
- install -m 0644 libloragw/library.cfg ${D}${libdir}/lora
- install -m 0644 libloragw/inc/* ${D}${includedir}/lora
+ install -d ${D}${includedir}/lora-usb
+ install -d ${D}${libdir}/lora-usb
+ install -m 0644 libloragw/libloragw.a ${D}${libdir}/lora-usb
+ install -m 0644 libloragw/library.cfg ${D}${libdir}/lora-usb
+ install -m 0644 libloragw/inc/* ${D}${includedir}/lora-usb
install -d ${D}/opt/lora
install -d ${D}/opt/lora/gateway-utils-usb
@@ -49,8 +49,8 @@ PACKAGES += "${PN}-utils ${PN}-utils-dbg"
FILES_${PN}-utils = "/opt/lora/gateway-utils-usb/*"
FILES_${PN}-utils-dbg = "/opt/lora/.debug"
-FILES_${PN}-dev = "${includedir}/lora ${libdir}/lora/library.cfg"
-FILES_${PN}-staticdev = "${libdir}/lora/libloragw.a"
+FILES_${PN}-dev = "${includedir}/lora-usb ${libdir}/lora-usb/library.cfg"
+FILES_${PN}-staticdev = "${libdir}/lora-usb/libloragw.a"
# disable this on purpose for dev purposes
do_rm_work() {
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 541247b..7ca1ffb 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
@@ -26,8 +26,8 @@ S = "${WORKDIR}/git"
LORA_DIR = "/opt/lora"
-export LGW_PATH = "${STAGING_LIBDIR}/lora"
-export LGW_INC = "${STAGING_INCDIR}/lora"
+export LGW_PATH = "${STAGING_LIBDIR}/lora-usb"
+export LGW_INC = "${STAGING_INCDIR}/lora-usb"
CFLAGS += "-I${LGW_INC} -Iinc -I."