[Mirror] The Firmware for FFBSee Community
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

70 lines
1.6KB

  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))