[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 08/23] build: Add Unikraft specific fixdep header



Ignore auto generated uk/_config.h.

Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>
---
 support/kconfig.new/fixdep.c                              |  1 +
 support/kconfig.new/patches/05-add-unikraft-fixdep-header | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 support/kconfig.new/patches/05-add-unikraft-fixdep-header

diff --git a/support/kconfig.new/fixdep.c b/support/kconfig.new/fixdep.c
index facbd60..97afb70 100644
--- a/support/kconfig.new/fixdep.c
+++ b/support/kconfig.new/fixdep.c
@@ -269,6 +269,7 @@ static int is_ignored_file(const char *s, int len)
 {
        return str_ends_with(s, len, "include/generated/autoconf.h") ||
               str_ends_with(s, len, "include/generated/autoksyms.h") ||
+              str_ends_with(s, len, "build/include/uk/_config.h") ||
               str_ends_with(s, len, ".ver");
 }
 
diff --git a/support/kconfig.new/patches/05-add-unikraft-fixdep-header 
b/support/kconfig.new/patches/05-add-unikraft-fixdep-header
new file mode 100644
index 0000000..3b2c8ae
--- /dev/null
+++ b/support/kconfig.new/patches/05-add-unikraft-fixdep-header
@@ -0,0 +1,12 @@
+diff --git a/support/kconfig.new/fixdep.c b/support/kconfig.new/fixdep.c
+index facbd60..97afb70 100644
+--- a/support/kconfig.new/fixdep.c
++++ b/support/kconfig.new/fixdep.c
+@@ -269,6 +269,7 @@ static int is_ignored_file(const char *s, int len)
+ {
+       return str_ends_with(s, len, "include/generated/autoconf.h") ||
+              str_ends_with(s, len, "include/generated/autoksyms.h") ||
++             str_ends_with(s, len, "build/include/uk/_config.h") ||
+              str_ends_with(s, len, ".ver");
+ }
+ 
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.