summaryrefslogtreecommitdiff
path: root/adk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-26 04:09:01 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-26 04:09:01 -0500
commitf2721def0501c1cbaad11f8366c5b20f440b7921 (patch)
tree7b15c7714ce84fe9d75bb77cab3826908901d18c /adk
parent8b6a574f396972f5065b4cab0d201fbb97015b0f (diff)
make compiling with debug information non-default behavior
As mentioned by Phil, a lot of disk space is needed nowadays to build OpenADK. Switch to non debug builds as default to save 2 GB for each default build.
Diffstat (limited to 'adk')
-rw-r--r--adk/tools/pkgmaker.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/adk/tools/pkgmaker.c b/adk/tools/pkgmaker.c
index 271e48eb7..b8aa87f7f 100644
--- a/adk/tools/pkgmaker.c
+++ b/adk/tools/pkgmaker.c
@@ -955,9 +955,8 @@ int main() {
/* handle debug subpackages */
fprintf(cfg, "\nconfig ADK_PACKAGE_%s_DBG\n", toupperstr(pkg_debug));
- fprintf(cfg, "\tprompt \"add debug symbols package\"\n");
- fprintf(cfg, "\tboolean\n");
- fprintf(cfg, "\tdepends on ADK_PACKAGE_GDB\n");
+ fprintf(cfg, "\tbool \"add debug symbols package\"\n");
+ fprintf(cfg, "\tdepends on ADK_PACKAGE_GDB && ADK_BUILD_WITH_DEBUG\n");
fprintf(cfg, "\tdepends on !ADK_DEBUG\n");
fprintf(cfg, "\tdepends on ADK_PACKAGE_%s\n", toupperstr(pkg_debug));
fprintf(cfg, "\tdefault n\n");