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.0 KiB

  1. #
  2. # Copyright (C) 2021 David Yang <mmyangfl@gmail.com>
  3. #
  4. # This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation, either version 2 of the License, or
  7. # (at your option) any later version.
  8. #
  9. include $(TOPDIR)/rules.mk
  10. PKG_NAME:=ieee8021xclient
  11. PKG_RELEASE:=$(AUTORELEASE)
  12. PKG_LICENSE:=GPL-2.0-or-later
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/ieee8021xclient
  15. SECTION:=net
  16. CATEGORY:=Network
  17. MAINTAINER:=David Yang <mmyangfl@gmail.com>
  18. TITLE:=Wired 802.1x client config support
  19. DEPENDS:=@(PACKAGE_wpa-supplicant||PACKAGE_wpad)
  20. PKGARCH:=all
  21. endef
  22. define Package/ieee8021xclient/description
  23. Wired 802.1x client config support in /etc/config/network.
  24. endef
  25. define Build/Compile
  26. endef
  27. define Build/Configure
  28. endef
  29. define Package/ieee8021xclient/install
  30. $(INSTALL_DIR) $(1)/lib/netifd/proto
  31. $(INSTALL_BIN) ./files/ieee8021xclient.sh $(1)/lib/netifd/proto/ieee8021xclient.sh
  32. endef
  33. $(eval $(call BuildPackage,ieee8021xclient))