X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Ftarget.mk;h=03192d3ebef4904851f8b798aa1bffa279a6036e;hb=416eef7209f3d7c7ab27c90dc4d851d78fff2d44;hp=edc6a146de0f76acd66fe00d86b2142e33711e10;hpb=a8fb12a7d62c94fd1bbda332752e0f8c794f3702;p=openwrt%2Fstaging%2Fchunkeey.git diff --git a/include/target.mk b/include/target.mk index edc6a146de..03192d3ebe 100644 --- a/include/target.mk +++ b/include/target.mk @@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2007-2008 OpenWrt.org # Copyright (C) 2016 LEDE Project -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# ifneq ($(__target_inc),1) __target_inc=1 @@ -36,6 +33,16 @@ else DEFAULT_PACKAGES+=busybox procd endif +# include ujail on systems with enough storage +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