[Lunar-commits] <moonbase-other> net-tools: Adjusting BUILD. Current kernel and kernel-headers do not

Dennis Veatch dennisveatch at bellsouth.net
Wed Sep 10 19:21:36 CEST 2014


commit faa6dcfa39f12931f6deb695c5876f9abbc87f3f
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Wed, 10 Sep 2014 13:20:42 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/faa6dcfa39f12931f6deb695c5876f9abbc87f3f

net-tools: Adjusting BUILD. Current kernel and kernel-headers do not

contain linux/if_strip.h.
---
  net/net-tools/BUILD | +4/-0     
  1 file changed, 4 insertions(+)

--- a/net/net-tools/BUILD
+++ b/net/net-tools/BUILD
@@ -1,3 +1,4 @@
+
 if [ -f $CONFIG_CACHE/net-tools.config.h ]; then
   cp $CONFIG_CACHE/net-tools.config.h config.h
 else
@@ -9,6 +10,9 @@ else
   cp config.h $CONFIG_CACHE/net-tools.config.h
 fi &&
 
+# curent kernel and kernel-headers do not contain linux/if_strip.h
+sedit "s:HAVE_HWSTRIP 1:HAVE_HWSTRIP 0:" config.h &&
+
 make            &&
 prepare_install &&
 




More information about the Lunar-commits mailing list