[Mirror] The Firmware for FFBSee Community
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=freifunk
  3. PKG_VERSION:=1.0.0
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR:=$(BUILD_DIR)/freifunk
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/freifunk-basic
  8. SECTION:=base
  9. CATEGORY:=Freifunk
  10. DEFAULT:=y
  11. TITLE:= Freifunk-Bodensee Basic
  12. URL:=http://ffbsee.de
  13. DEPENDS:=+kmod-batman-adv +batctl +alfred +sockread \
  14. +uhttpd +haserl +px5g +libustream-mbedtls \
  15. +fastd +ip +simple-radvd +@SMALL_FLASH \
  16. +ebtables +kmod-ebtables-ipv4 +kmod-ebtables-ipv6 \
  17. +haveged +autoupdater +simple-tc +@ATH_USER_REGD
  18. endef
  19. define Build/Prepare
  20. echo "all: " > $(PKG_BUILD_DIR)/Makefile
  21. endef
  22. define Package/freifunk-basic/install
  23. #nothing to do here
  24. endef
  25. define Package/freifunk/conffiles
  26. /etc/config/freifunk
  27. endef
  28. define Package/freifunk-debug
  29. SECTION:=base
  30. CATEGORY:=Freifunk
  31. DEFAULT:=n
  32. TITLE:=With debug tools
  33. DEPENDS:=+freifunk-basic \
  34. +@KMOD_BATMAN_ADV_DEBUG_LOG +iperf +tcpdump-mini
  35. endef
  36. define Package/freifunk-usb-storage
  37. SECTION:=base
  38. CATEGORY:=Freifunk
  39. DEFAULT:=n
  40. TITLE:=With USB storage packages
  41. DEPENDS:=+freifunk-basic \
  42. +kmod-usb-storage +block-mount \
  43. +kmod-fs-ext4 +kmod-fs-vfat \
  44. +kmod-nls-cp437 +kmod-nls-iso8859-1
  45. endef
  46. define Package/freifunk-usb-3g
  47. SECTION:=base
  48. CATEGORY:=Freifunk
  49. DEFAULT:=n
  50. TITLE:=With 3G USB dongle packages
  51. DEPENDS:=+freifunk-basic \
  52. +comgt +kmod-usb-serial +kmod-usb-serial-option \
  53. +kmod-usb-serial-wwan +usb-modeswitch
  54. endef
  55. $(eval $(call BuildPackage,freifunk-basic))
  56. $(eval $(call BuildPackage,freifunk-debug))
  57. $(eval $(call BuildPackage,freifunk-usb-storage))
  58. $(eval $(call BuildPackage,freifunk-usb-3g))