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.

42 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2019 EWSI
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. include $(INCLUDE_DIR)/kernel.mk
  9. PKG_NAME:=macremapper
  10. PKG_VERSION:=1.0.0
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://codeload.github.com/ewsi/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)?
  14. PKG_HASH:=f054201dd805ce005b89606a507b58a5717d383a4339c69dfdc02f0202935437
  15. PKG_MAINTAINER:=Carey Sonsino <careys@edgewaterwireless.com>
  16. PKG_LICENSE:=GPL-2.0-only
  17. PKG_LICENSE_FILES:=kernelmod/COPYING
  18. include $(INCLUDE_DIR)/package.mk
  19. define KernelPackage/macremapper
  20. SUBMENU:=Network Support
  21. URL:=https://www.edgewaterwireless.com
  22. VERSION:=$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
  23. TITLE:=Dual Channel Wi-Fi macremapper Module
  24. DEPENDS:= +kmod-cfg80211 +kmod-br-netfilter
  25. FILES:=$(PKG_BUILD_DIR)/kernelmod/$(PKG_NAME).$(LINUX_KMOD_SUFFIX)
  26. AUTOLOAD:=$(call AutoProbe,macremapper)
  27. endef
  28. define KernelPackage/macremapper/description
  29. Linux kernel module for implementation the DCW filtering mechanism
  30. endef
  31. MAKE_FLAGS += KERNEL_SRC=$(LINUX_DIR)
  32. MAKE_PATH:=kernelmod
  33. $(eval $(call KernelPackage,macremapper))