From 33ec9dd458f7dbe9ce959040faad5379a8dc9d27 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 5 Jan 2009 16:58:29 -0800 Subject: [PATCH] Fix datapath build by distributing all the necessary compatibility headers. --- datapath/linux-2.4/Modules.mk | 6 +++++- datapath/linux-2.6/Modules.mk | 10 +++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/datapath/linux-2.4/Modules.mk b/datapath/linux-2.4/Modules.mk index 802facef..09d2988d 100644 --- a/datapath/linux-2.4/Modules.mk +++ b/datapath/linux-2.4/Modules.mk @@ -21,12 +21,15 @@ compat24_headers = \ linux-2.4/compat-2.4/include-mips/asm/break.h \ linux-2.4/compat-2.4/include-mips/asm/page.h \ linux-2.4/compat-2.4/include-mips/asm/system.h \ + linux-2.4/compat-2.4/include/asm/bug.h linux-2.4/compat-2.4/include/asm/system.h \ linux-2.4/compat-2.4/include/linux/compiler.h \ linux-2.4/compat-2.4/include/linux/delay.h \ + linux-2.4/compat-2.4/include/linux/dmi.h \ linux-2.4/compat-2.4/include/linux/etherdevice.h \ linux-2.4/compat-2.4/include/linux/genetlink.h \ linux-2.4/compat-2.4/include/linux/gfp.h \ + linux-2.4/compat-2.4/include/linux/icmp.h \ linux-2.4/compat-2.4/include/linux/if_ether.h \ linux-2.4/compat-2.4/include/linux/if_vlan.h \ linux-2.4/compat-2.4/include/linux/ip.h \ @@ -54,9 +57,10 @@ compat24_headers = \ linux-2.4/compat-2.4/include/linux/timer.h \ linux-2.4/compat-2.4/include/linux/types.h \ linux-2.4/compat-2.4/include/linux/udp.h \ + linux-2.4/compat-2.4/include/linux/workqueue.h \ linux-2.4/compat-2.4/include/net/checksum.h \ linux-2.4/compat-2.4/include/net/genetlink.h \ linux-2.4/compat-2.4/include/net/llc_pdu.h \ - linux-2.4/compat-2.4/include/net/netlink.h + linux-2.4/compat-2.4/include/net/netlink.h \ EXTRA_DIST += linux-2.4/compat-2.4/TODO diff --git a/datapath/linux-2.6/Modules.mk b/datapath/linux-2.6/Modules.mk index 6f4f7a41..809e4176 100644 --- a/datapath/linux-2.6/Modules.mk +++ b/datapath/linux-2.6/Modules.mk @@ -6,10 +6,16 @@ openflow_sources += \ openflow_headers += \ linux-2.6/compat-2.6/compat26.h \ + linux-2.6/compat-2.6/include/asm-generic/bug.h \ + linux-2.6/compat-2.6/include/linux/dmi.h \ + linux-2.6/compat-2.6/include/linux/icmp.h \ + linux-2.6/compat-2.6/include/linux/if_arp.h \ linux-2.6/compat-2.6/include/linux/ip.h \ linux-2.6/compat-2.6/include/linux/ipv6.h \ + linux-2.6/compat-2.6/include/linux/jiffies.h \ linux-2.6/compat-2.6/include/linux/lockdep.h \ linux-2.6/compat-2.6/include/linux/mutex.h \ + linux-2.6/compat-2.6/include/linux/netfilter_ipv4.h \ linux-2.6/compat-2.6/include/linux/netlink.h \ linux-2.6/compat-2.6/include/linux/random.h \ linux-2.6/compat-2.6/include/linux/rculist.h \ @@ -18,8 +24,10 @@ openflow_headers += \ linux-2.6/compat-2.6/include/linux/timer.h \ linux-2.6/compat-2.6/include/linux/types.h \ linux-2.6/compat-2.6/include/linux/udp.h \ + linux-2.6/compat-2.6/include/linux/workqueue.h \ linux-2.6/compat-2.6/include/net/checksum.h \ - linux-2.6/compat-2.6/include/net/genetlink.h + linux-2.6/compat-2.6/include/net/genetlink.h \ + linux-2.6/compat-2.6/include/net/netlink.h brcompat_sources = \ linux-2.6/compat-2.6/genetlink-brcompat.c \ -- 2.30.2