Browse Source

the optional host-tool detection support is still broken :(

Waldemar Brodkorb 7 years ago
parent
commit
2fc9149272
2 changed files with 8 additions and 10 deletions
  1. 0 2
      adk/tools/depmaker.c
  2. 8 8
      target/config/Config.in.tools

+ 0 - 2
adk/tools/depmaker.c

@@ -133,10 +133,8 @@ static char *parse_line(char *package, char *pkgvar, char *string, int checksym,
 			}
 			strncat(depvar, dep, strlen(dep)-5);
 			if ((strncmp(depvar, "bc", 2) == 0) ||
-				(strncmp(depvar, "bison", 5) == 0) ||
 				(strncmp(depvar, "bzip2", 5) == 0) ||
 				(strncmp(depvar, "file", 4) == 0) ||
-				(strncmp(depvar, "flex", 4) == 0) ||
 				(strncmp(depvar, "gawk", 4) == 0) ||
 				(strncmp(depvar, "grep", 4) == 0) ||
 				(strncmp(depvar, "patch", 5) == 0) ||

+ 8 - 8
target/config/Config.in.tools

@@ -19,10 +19,18 @@ config ADK_HOST_BUILD_AUTOMAKE
 	bool
 	default y
 
+config ADK_HOST_BUILD_BISON
+	bool
+	default y
+
 config ADK_HOST_BUILD_FAKEROOT
 	bool
 	default n
 
+config ADK_HOST_BUILD_FLEX
+	bool
+	default y
+
 config ADK_HOST_BUILD_M4
 	bool
 	default y
@@ -49,10 +57,6 @@ config ADK_HOST_BUILD_BC
 	select ADK_HOST_BUILD_FLEX
 	default n
 
-config ADK_HOST_BUILD_BISON
-	bool
-	default n
-
 config ADK_HOST_BUILD_BZIP2
 	bool
 	default n
@@ -70,10 +74,6 @@ config ADK_HOST_BUILD_FINDUTILS
 	bool
 	default n
 
-config ADK_HOST_BUILD_FLEX
-	bool
-	default n
-
 config ADK_HOST_BUILD_GAWK
 	bool
 	default y if ADK_HOST_DARWIN