Browse Source

Fixed paths

master
Anthony Hinsinger 8 years ago
parent
commit
f4d174761f
  1. 6
      Config.in
  2. 10
      package/packet-forwarder/Config.in
  3. 4
      package/packet-forwarder/packet-forwarder.mk

6
Config.in

@ -1,2 +1,4 @@ @@ -1,2 +1,4 @@
source "$BR2_EXTERNAL_ATOY_PATH/package/lora-gateway/Config.in"
source "$BR2_EXTERNAL_ATOY_PATH/package/packet-forwarder/Config.in"
menu "The Things Network"
source "$BR2_EXTERNAL_ATOY_PATH/package/lora-gateway/Config.in"
source "$BR2_EXTERNAL_ATOY_PATH/package/packet-forwarder/Config.in"
endmenu

10
package/packet-forwarder/Config.in

@ -3,3 +3,13 @@ config BR2_PACKAGE_PACKET_FORWARDER @@ -3,3 +3,13 @@ config BR2_PACKAGE_PACKET_FORWARDER
select BR2_PACKAGE_LORA_GATEWAY
help
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

4
package/packet-forwarder/packet-forwarder.mk

@ -13,11 +13,11 @@ endef @@ -13,11 +13,11 @@ endef
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 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
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
endef

Loading…
Cancel
Save