From: Geert Stappers <stapp...@stappers.nl>

More  -I  for the C-preprocessor
---
 src/util/get-pci-ids | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/get-pci-ids b/src/util/get-pci-ids
index 1550677d..0927ef2d 100755
--- a/src/util/get-pci-ids
+++ b/src/util/get-pci-ids
@@ -56,6 +56,8 @@ unless(-f "$kernel_src/include/linux/vermagic.h") {
 # Flags that are needed to preprocess the drivers.
 # Some drivers need optimization
 my $cflags="-D__KERNEL__ -I$kernel_src/include -I$kernel_src/net/inet -O2";
+$cflags .= " -I$kernel_src/arch/x86/include";
+$cflags .= " -I$kernel_src/arch/x86/include/generated/";  # have "make" kernel 
done
 
 # The C preprocessor. It needs to spit out the preprocessed source on stdout.
 my $cpp="gcc -E";
-- 
2.11.0

_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo/ipxe-devel

Reply via email to