From af21f912b2421797b6ca4284dc75d5e9a242166b Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Tue, 4 Feb 2020 02:04:36 +0100
Subject: [PATCH] generic: fix GLUON_DEBUG on targets without configurable
 rootfs size

Fixes: c3435607e1c7 ("generic: increase RootFS size when GLUON_DEBUG is enabled")
---
 targets/generic | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/targets/generic b/targets/generic
index 9d87ba4eb..65982ef4b 100644
--- a/targets/generic
+++ b/targets/generic
@@ -54,9 +54,10 @@ end
 if envtrue.GLUON_DEBUG then
 	config 'CONFIG_DEBUG=y'
 	config 'CONFIG_NO_STRIP=y'
-	config 'CONFIG_TARGET_ROOTFS_PARTSIZE=500'
 	config '# CONFIG_USE_STRIP is not set'
 	config '# CONFIG_USE_SSTRIP is not set'
+
+	try_config 'CONFIG_TARGET_ROOTFS_PARTSIZE=500'
 end
 
 
-- 
GitLab