diff options
-rw-r--r-- | adk/tools/pkgmaker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/adk/tools/pkgmaker.c b/adk/tools/pkgmaker.c index ca5dbfa2c..3091296cd 100644 --- a/adk/tools/pkgmaker.c +++ b/adk/tools/pkgmaker.c @@ -941,7 +941,8 @@ int main() { if (pkg_kdepends != NULL) { token = strtok(pkg_kdepends, " "); while (token != NULL) { - fprintf(cfg, "\tselect ADK_KERNEL_%s m\n", toupperstr(token)); + fprintf(cfg, "\tselect ADK_LINUX_KERNEL_%s m if ADK_TARGET_OS_LINUX\n", toupperstr(token)); + fprintf(cfg, "\tselect ADK_WALDUX_KERNEL_%s m if ADK_TARGET_OS_WALDUX\n", toupperstr(token)); token = strtok(NULL, " "); } free(pkg_kdepends); |