aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-seccomp.mk
blob: fa49617d41a36499ce5f8a7940bc51cd0e28f3fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# Copyright (C) 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

PKG_CONFIG_DEPENDS+= CONFIG_KERNEL_SECCOMP

ifeq ($(CONFIG_KERNEL_SECCOMP),y)
  define InstallSeccomp
	$(INSTALL_DIR) $(1)/etc/seccomp
	$(INSTALL_DATA) $(2) $(1)/etc/seccomp/
  endef
endif