projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: select procd-seccomp if kernel support is present
[openwrt/staging/wigyori.git]
/
include
/
target.mk
diff --git
a/include/target.mk
b/include/target.mk
index eac2d164c3badf2e5a55691808465ab397b86fb8..03192d3ebef4904851f8b798aa1bffa279a6036e 100644
(file)
--- a/
include/target.mk
+++ b/
include/target.mk
@@
-38,6
+38,11
@@
ifeq ($(CONFIG_SMALL_FLASH),)
DEFAULT_PACKAGES+=procd-ujail
endif
+# include seccomp ld-preload hooks if kernel supports it
+ifneq ($(CONFIG_KERNEL_SECCOMP),)
+DEFAULT_PACKAGES+=procd-seccomp
+endif
+
# For the basic set
DEFAULT_PACKAGES.basic:=
# For nas targets