430 |
430 |
431 AC_SUBST(KERNEL_E1000E,[$kernele1000e]) |
431 AC_SUBST(KERNEL_E1000E,[$kernele1000e]) |
432 AC_SUBST(E1000E_LAYOUT, [$e1000elayout]) |
432 AC_SUBST(E1000E_LAYOUT, [$e1000elayout]) |
433 |
433 |
434 #------------------------------------------------------------------------------ |
434 #------------------------------------------------------------------------------ |
|
435 # igb driver |
|
436 #------------------------------------------------------------------------------ |
|
437 |
|
438 AC_ARG_ENABLE([igb], |
|
439 AS_HELP_STRING([--enable-igb], |
|
440 [Enable igb driver]), |
|
441 [ |
|
442 case "${enableval}" in |
|
443 yes) enableigb=1 |
|
444 ;; |
|
445 no) enableigb=0 |
|
446 ;; |
|
447 *) AC_MSG_ERROR([Invalid value for --enable-igb]) |
|
448 ;; |
|
449 esac |
|
450 ], |
|
451 [enableigb=0] # disabled by default |
|
452 ) |
|
453 |
|
454 AM_CONDITIONAL(ENABLE_IGB, test "x$enableigb" = "x1") |
|
455 AC_SUBST(ENABLE_IGB,[$enableigb]) |
|
456 |
|
457 AC_ARG_WITH([igb-kernel], |
|
458 AC_HELP_STRING( |
|
459 [--with-igb-kernel=<X.Y.Z>], |
|
460 [igb kernel (only if differing)] |
|
461 ), |
|
462 [ |
|
463 kerneligb=[$withval] |
|
464 ], |
|
465 [ |
|
466 kerneligb=$linuxversion |
|
467 ] |
|
468 ) |
|
469 |
|
470 if test "x${enableigb}" = "x1"; then |
|
471 AC_MSG_CHECKING([for kernel for igb driver]) |
|
472 |
|
473 if test ! -f "${srcdir}/devices/igb/igb_main-${kerneligb}-orig.c"; then |
|
474 AC_MSG_ERROR([kernel $kerneligb not available for igb driver!]) |
|
475 fi |
|
476 |
|
477 AC_MSG_RESULT([$kerneligb]) |
|
478 fi |
|
479 |
|
480 AC_SUBST(KERNEL_IGB,[$kerneligb]) |
|
481 |
|
482 #------------------------------------------------------------------------------ |
435 # r8169 driver |
483 # r8169 driver |
436 #------------------------------------------------------------------------------ |
484 #------------------------------------------------------------------------------ |
437 |
485 |
438 AC_ARG_ENABLE([r8169], |
486 AC_ARG_ENABLE([r8169], |
439 AS_HELP_STRING([--enable-r8169], |
487 AS_HELP_STRING([--enable-r8169], |
1042 devices/ccat/Makefile |
1090 devices/ccat/Makefile |
1043 devices/e1000/Kbuild |
1091 devices/e1000/Kbuild |
1044 devices/e1000/Makefile |
1092 devices/e1000/Makefile |
1045 devices/e1000e/Kbuild |
1093 devices/e1000e/Kbuild |
1046 devices/e1000e/Makefile |
1094 devices/e1000e/Makefile |
|
1095 devices/igb/Kbuild |
|
1096 devices/igb/Makefile |
1047 ethercat.spec |
1097 ethercat.spec |
1048 examples/Kbuild |
1098 examples/Kbuild |
1049 examples/Makefile |
1099 examples/Makefile |
1050 examples/dc_rtai/Kbuild |
1100 examples/dc_rtai/Kbuild |
1051 examples/dc_rtai/Makefile |
1101 examples/dc_rtai/Makefile |