summaryrefslogtreecommitdiff
path: root/util/kconfig/patches/0011-remove-include-config-hardcodes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'util/kconfig/patches/0011-remove-include-config-hardcodes.patch')
-rw-r--r--util/kconfig/patches/0011-remove-include-config-hardcodes.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/util/kconfig/patches/0011-remove-include-config-hardcodes.patch b/util/kconfig/patches/0011-remove-include-config-hardcodes.patch
deleted file mode 100644
index ca408d9301..0000000000
--- a/util/kconfig/patches/0011-remove-include-config-hardcodes.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: kconfig/confdata.c
-===================================================================
---- kconfig.orig/confdata.c
-+++ kconfig/confdata.c
-@@ -230,6 +230,13 @@ static const char *conf_get_autoheader_n
- return name ? name : "include/generated/autoconf.h";
- }
-
-+static const char *conf_get_autobase_name(void)
-+{
-+ char *name = getenv("KCONFIG_SPLITCONFIG");
-+
-+ return name ? name : "include/config/";
-+}
-+
- static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p)
- {
- char *p2;
-@@ -1031,7 +1038,7 @@ static int conf_touch_deps(void)
- struct symbol *sym;
- int res, i;
-
-- strcpy(depfile_path, "include/config/");
-+ strcpy(depfile_path, conf_get_autobase_name());
- depfile_prefix_len = strlen(depfile_path);
-
- name = conf_get_autoconfig_name();