summaryrefslogtreecommitdiff
path: root/adk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-03-27 21:35:27 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-03-27 21:35:27 +0200
commit5028a8c9108fc83cc2d7b4b8a6380c961ffb8118 (patch)
tree132d705fd0433c30e2090716c4d4f24b50aae252 /adk
parent71ef55fa0b3067e0845829af1ebc0a6bc1287fc4 (diff)
pkgmaker: fix kernel depends
Diffstat (limited to 'adk')
-rw-r--r--adk/tools/pkgmaker.c3
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);