build: select procd-ujail if !SMALL_FLASH
[openwrt/staging/dedeckeh.git] / 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