Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-txpower-fix
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(GLUONDIR)/include/package.mk
  6. define Package/ffho-txpower-fix
  7. SECTION:=ffho
  8. CATEGORY:=Workarounds
  9. TITLE:=Fixes txpower on some wifi nodes under chaos calmer (gluon 2016.1.x)
  10. DEPENDS:=+gluon-core
  11. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  12. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  13. endef
  14. define Package/ffho-txpower-fix/description
  15. With chaoscalmer, wifi nodes seemed to be locked to less txpower than they could do.
  16. First suggestions are, that this is a mistake in the upstream OpenWrt-Code. Even the
  17. bugtrackers of OpenWrt are full of this.
  18. The idea of this workaround is, to check if the txpower could be increased if it isn't
  19. already set to a special value. Unfortunately this can only be done by setting the
  20. country code to 00.
  21. endef
  22. define Build/Prepare
  23. mkdir -p $(PKG_BUILD_DIR)
  24. endef
  25. define Build/Configure
  26. endef
  27. define Build/Compile
  28. endef
  29. define Package/ffho-txpower-fix/install
  30. $(CP) ./files/* $(1)/
  31. endef
  32. $(eval $(call BuildPackage,ffho-txpower-fix))