  			   rm -f makedefs.test makedefs.test.[co]
  		       fi;;
  		esac
-@@ -366,12 +361,12 @@ EOF
+ 		;;
+-    Linux.3*)	SYSTYPE=LINUX3
++    Linux.3*|Linux.4*)	SYSTYPE=LINUX3
  		case "$CCARGS" in
  		 *-DNO_DB*) ;;
  		 *-DHAS_DB*) ;;

 		       then
 			   echo CCARGS="$CCARGS -DNO_EPOLL"
 		       else
@@ -356,8 +353,6 @@ int     main(int argc, char **argv)
 }
 EOF
 			   ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1

Upstreamstatus: Inappropriate [embedded specific]

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>

5)add Linux 4.0 support

--- a/makedefs	2015-05-30 13:38:50.346033228 +0200
+++ b/makedefs	2015-05-30 13:40:19.375364795 +0200
@@ -87,9 +87,6 @@

 # Defaults for most sane systems
