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
956 B

  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  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:=siit
  10. PKG_VERSION:=1.2
  11. PKG_RELEASE:=1
  12. PKG_LICENSE:=GPLv2+
  13. include $(INCLUDE_DIR)/package.mk
  14. define KernelPackage/siit
  15. SUBMENU:=Network Devices
  16. TITLE:=Stateless IP ICMP Translation Algorithm
  17. DEPENDS:= @(!(TARGET_ps3||TARGET_pxcab))
  18. FILES:=$(PKG_BUILD_DIR)/siit.ko
  19. AUTOLOAD:=$(call AutoLoad,50,siit)
  20. MAINTAINER:=Vladimir Ulrich <admin@evl.su>
  21. endef
  22. include $(INCLUDE_DIR)/kernel-defaults.mk
  23. define KernelPackage/siit/description
  24. Stateless IP ICMP Translation Algorithm
  25. endef
  26. define Build/Prepare
  27. mkdir -p $(PKG_BUILD_DIR)
  28. cp src/Makefile src/siit.h src/siit.c $(PKG_BUILD_DIR)/
  29. endef
  30. define Build/Compile
  31. $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
  32. endef
  33. $(eval $(call KernelPackage,siit))