summaryrefslogtreecommitdiff
path: root/nuttx/tools/configure.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-03-06 13:00:50 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-03-06 13:00:50 -0600
commit77a632298aebc2287acf233f6dd998aa8d1f4db8 (patch)
treee6a2f31bb4f24ab917272e5a2ef9853708356f14 /nuttx/tools/configure.c
parent77fb1a3d39743ca53ed17239109b8a82c293205e (diff)
downloadnuttx-77a632298aebc2287acf233f6dd998aa8d1f4db8.tar.gz
nuttx-77a632298aebc2287acf233f6dd998aa8d1f4db8.tar.bz2
nuttx-77a632298aebc2287acf233f6dd998aa8d1f4db8.zip
Support for the older, manual configurations has been completely removed from the NuttX build system
Diffstat (limited to 'nuttx/tools/configure.c')
-rw-r--r--nuttx/tools/configure.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/nuttx/tools/configure.c b/nuttx/tools/configure.c
index 323177b75..5f8fbdddc 100644
--- a/nuttx/tools/configure.c
+++ b/nuttx/tools/configure.c
@@ -87,11 +87,9 @@ static char *g_verstring = "0.0"; /* Version String */
static char *g_srcdefconfig = NULL; /* Source defconfig file */
static char *g_srcmakedefs = NULL; /* Source Make.defs file */
-static char *g_srcappconfig = NULL ; /* Source appconfig file (optional) */
static char *g_srcsetenvsh = NULL; /* Source setenv.sh file (optional) */
static char *g_srcsetenvbat = NULL; /* Source setenv.bat file (optional) */
-static bool g_newconfig = false; /* True: New style configuration */
static bool g_winnative = false; /* True: Windows native configuration */
static bool g_needapppath = true; /* Need to add app path to the .config file */
@@ -603,15 +601,6 @@ static void check_configuration(void)
{
struct variable_s *var;
- /* Check if this the new style configuration based on kconfig-fontends */
-
- var = find_variable("CONFIG_NUTTX_NEWCONFIG", g_configvars);
- if (var && var->val && strcmp("y", var->val) == 0)
- {
- debug("check_configuration: New style configuration\n");
- g_newconfig = true;
- }
-
/* Check if this is a Windows native configuration */
var = find_variable("CONFIG_WINDOWS_NATIVE", g_configvars);
@@ -669,23 +658,6 @@ static void check_configuration(void)
g_srcsetenvsh = strdup(g_buffer);
}
}
-
- /* Old style configurations MUST provide an appconfig file */
-
- if (!g_newconfig)
- {
- snprintf(g_buffer, BUFFER_SIZE, "%s%cappconfig", g_configpath, g_delim);
- debug("check_configuration: Checking %s\n", g_buffer);
- if (!verify_file(g_buffer))
- {
- fprintf(stderr, "ERROR: Configuration corrupted in %s\n", g_configpath);
- fprintf(stderr, " Required appconfig file not found.\n");
- enumerate_configs();
- exit(EXIT_FAILURE);
- }
-
- g_srcappconfig = strdup(g_buffer);
- }
}
static void copy_file(const char *srcpath, const char *destpath, mode_t mode)
@@ -803,15 +775,6 @@ static void configure(void)
copy_file(g_srcsetenvbat, g_buffer, 0644);
}
- /* Copy the appconfig file to ../apps/.config if have one and need one */
-
- if (g_srcappconfig)
- {
- snprintf(g_buffer, BUFFER_SIZE, "%s%c.config", g_apppath, g_delim);
- debug("configure: Copying from %s to %s\n", g_srcappconfig, g_buffer);
- copy_file(g_srcappconfig, g_buffer, 0644);
- }
-
/* If we did not use the CONFIG_APPS_DIR that was in the defconfig config file,
* then append the correct application information to the tail of the .config
* file