summaryrefslogtreecommitdiff
path: root/adk/tools
diff options
context:
space:
mode:
Diffstat (limited to 'adk/tools')
-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");