build: select procd-ujail if !SMALL_FLASH
authorDaniel Golle <daniel@makrotopia.org>
Wed, 21 Oct 2020 14:04:17 +0000 (15:04 +0100)
committerPaul Spooren <mail@aparcar.org>
Fri, 8 Oct 2021 09:22:05 +0000 (23:22 -1000)
Add procd-ujail to DEFAULT_PACKAGES if not building for
space-constraint (FEATURES:=small_flash) targets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/target.mk

index 7526224972e18148fec8a12318ca7f90a382475f..eac2d164c3badf2e5a55691808465ab397b86fb8 100644 (file)
@@ -33,6 +33,11 @@ else
 DEFAULT_PACKAGES+=busybox procd
 endif
 
+# include ujail on systems with enough storage
+ifeq ($(CONFIG_SMALL_FLASH),)
+DEFAULT_PACKAGES+=procd-ujail
+endif
+
 # For the basic set
 DEFAULT_PACKAGES.basic:=
 # For nas targets