From 949d8663f2f12c986ef2983b7b307f5ecddf060e Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Fri, 19 Dec 2014 01:42:49 -0600
Subject: use the new concept of appliances

- Sync with Kernel upstream Kconfig
- use new feature visible
- add a patch for select on choices
  https://lkml.org/lkml/2011/2/17/379
- rename ADK_LINUX -> ADK_TARGET_ARCH
- remove package collection feature
- add appliance feature to define a appliance
  more complete
---
 adk/tools/pkgmaker.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'adk/tools')

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, " ");
-- 
cgit v1.2.3