package-seccomp.mk 341 B

123456789101112131415
  1. #
  2. # Copyright (C) 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. PKG_CONFIG_DEPENDS+= CONFIG_KERNEL_SECCOMP
  8. ifeq ($(CONFIG_KERNEL_SECCOMP),y)
  9. define InstallSeccomp
  10. $(INSTALL_DIR) $(1)/etc/seccomp
  11. $(INSTALL_DATA) $(2) $(1)/etc/seccomp/
  12. endef
  13. endif