Fixed paths
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
source "$BR2_EXTERNAL_ATOY_PATH/package/lora-gateway/Config.in"
|
menu "The Things Network"
|
||||||
source "$BR2_EXTERNAL_ATOY_PATH/package/packet-forwarder/Config.in"
|
source "$BR2_EXTERNAL_ATOY_PATH/package/lora-gateway/Config.in"
|
||||||
|
source "$BR2_EXTERNAL_ATOY_PATH/package/packet-forwarder/Config.in"
|
||||||
|
endmenu
|
||||||
|
|||||||
@@ -3,3 +3,13 @@ config BR2_PACKAGE_PACKET_FORWARDER
|
|||||||
select BR2_PACKAGE_LORA_GATEWAY
|
select BR2_PACKAGE_LORA_GATEWAY
|
||||||
help
|
help
|
||||||
This is the lora packet forwarder package from The Things Network
|
This is the lora packet forwarder package from The Things Network
|
||||||
|
|
||||||
|
if BR2_PACKAGE_PACKET_FORWARDER
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PACKET_FORWARDER_RST_GPIO
|
||||||
|
int "Reset GPIO"
|
||||||
|
default 17
|
||||||
|
help
|
||||||
|
This is the GPIO number connected to the SX1301 reset pin
|
||||||
|
|
||||||
|
endif
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ endef
|
|||||||
define PACKET_FORWARDER_INSTALL_TARGET_CMDS
|
define PACKET_FORWARDER_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/poly_pkt_fwd/poly_pkt_fwd $(TARGET_DIR)/usr/bin/poly_pkt_fwd
|
$(INSTALL) -D -m 0755 $(@D)/poly_pkt_fwd/poly_pkt_fwd $(TARGET_DIR)/usr/bin/poly_pkt_fwd
|
||||||
$(INSTALL) -D -m 0644 $(@D)/poly_pkt_fwd/global_conf.json $(TARGET_DIR)/etc/ttn/global_conf.json
|
$(INSTALL) -D -m 0644 $(@D)/poly_pkt_fwd/global_conf.json $(TARGET_DIR)/etc/ttn/global_conf.json
|
||||||
$(INSTALL) -D -m 0644 package/thethingsnetwork/packet-forwarder/packet-forwarder $(TARGET_DIR)/etc/default/packet-forwarder
|
$(INSTALL) -D -m 0644 $(PACKET_FORWARDER_PKGDIR)/packet-forwarder $(TARGET_DIR)/etc/default/packet-forwarder
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define PACKET_FORWARDER_INSTALL_INIT_SYSV
|
define PACKET_FORWARDER_INSTALL_INIT_SYSV
|
||||||
$(INSTALL) -D -m 755 package/thethingsnetwork/packet-forwarder/S52packetforwarder \
|
$(INSTALL) -D -m 755 $(PACKET_FORWARDER_PKGDIR)/S52packetforwarder \
|
||||||
$(TARGET_DIR)/etc/init.d/S52packetforwarder
|
$(TARGET_DIR)/etc/init.d/S52packetforwarder
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user