image.mk: force rebuild of kernel dependent parts - fixes auto-rebuild on DTS changes
[openwrt/openwrt.git] / include / package-seccomp.mk
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
8 PKG_CONFIG_DEPENDS+= CONFIG_KERNEL_SECCOMP
9
10 ifeq ($(CONFIG_KERNEL_SECCOMP),y)
11 define InstallSeccomp
12 $(INSTALL_DIR) $(1)/etc/seccomp
13 $(INSTALL_DATA) $(2) $(1)/etc/seccomp/
14 endef
15 endif