summaryrefslogtreecommitdiff
path: root/adk/tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-22 10:10:40 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-22 10:10:40 +0100
commitd18bf841d7c4867c06862147122de5cc2f01b4c6 (patch)
tree7da8495a47fb6a8ef9fc762421a81f12f7292cc4 /adk/tools
parentb390eafdcf03f34ac6e2c22be43c27fbc93f01f0 (diff)
parentf919a87612241c71e924588610f22260a3e9370e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'adk/tools')
-rw-r--r--adk/tools/pkgmaker.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/adk/tools/pkgmaker.c b/adk/tools/pkgmaker.c
index a6548ee23..271e48eb7 100644
--- a/adk/tools/pkgmaker.c
+++ b/adk/tools/pkgmaker.c
@@ -874,10 +874,10 @@ int main() {
sp = "";
while (token != NULL) {
if(strncmp(token, "!", 1) == 0) {
- fprintf(cfg, "%s!ADK_LINUX%s", sp, toupperstr(token));
+ fprintf(cfg, "%s!ADK_TARGET_ARCH%s", sp, toupperstr(token));
sp = " && ";
} else {
- fprintf(cfg, "%sADK_LINUX_%s", sp, toupperstr(token));
+ fprintf(cfg, "%sADK_TARGET_ARCH_%s", sp, toupperstr(token));
sp = " || ";
}
token = strtok(NULL, " ");
@@ -1148,10 +1148,10 @@ int main() {
sp = "";
while (token != NULL) {
if(strncmp(token, "!", 1) == 0) {
- fprintf(cfg, "%s!ADK_LINUX%s", sp, toupperstr(token));
+ fprintf(cfg, "%s!ADK_TARGET_ARCH%s", sp, toupperstr(token));
sp = " && ";
} else {
- fprintf(cfg, "%sADK_LINUX_%s", sp, toupperstr(token));
+ fprintf(cfg, "%sADK_TARGET_ARCH_%s", sp, toupperstr(token));
sp = " || ";
}
token = strtok(NULL, " ");