From 5028a8c9108fc83cc2d7b4b8a6380c961ffb8118 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 27 Mar 2018 21:35:27 +0200 Subject: pkgmaker: fix kernel depends --- adk/tools/pkgmaker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'adk') 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); -- cgit v1.2.3