fp@364: #------------------------------------------------------------------------------ fp@364: # fp@364: # $Id$ fp@364: # fp@1685: # Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH fp@364: # fp@364: # This file is part of the IgH EtherCAT Master. fp@364: # fp@1685: # The IgH EtherCAT Master is free software; you can redistribute it and/or fp@1685: # modify it under the terms of the GNU General Public License version 2, as fp@1685: # published by the Free Software Foundation. fp@364: # fp@1685: # The IgH EtherCAT Master is distributed in the hope that it will be useful, fp@1685: # but WITHOUT ANY WARRANTY; without even the implied warranty of fp@1685: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General fp@1685: # Public License for more details. fp@364: # fp@1685: # You should have received a copy of the GNU General Public License along fp@1685: # with the IgH EtherCAT Master; if not, write to the Free Software fp@364: # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA fp@364: # fp@1685: # Using the EtherCAT technology and brand is permitted in compliance with the fp@1685: # industrial property and similar rights of Beckhoff Automation GmbH. fp@364: # fp@892: # vim: syntax=make fp@892: # fp@364: #------------------------------------------------------------------------------ fp@364: fp@366: REV := $(shell if test -s $(src)/../svnrevision; then \ fp@366: cat $(src)/../svnrevision; \ fp@366: else \ fp@382: svnversion $(src)/.. 2>/dev/null || echo "unknown"; \ fp@366: fi) fp@364: fp@732: ifeq (@ENABLE_8139TOO@,1) fp@732: EC_8139TOO_OBJ := 8139too-@KERNEL_8139TOO@-ethercat.o fp@582: obj-m += ec_8139too.o fp@584: ec_8139too-objs := $(EC_8139TOO_OBJ) fp@582: CFLAGS_$(EC_8139TOO_OBJ) = -DSVNREV=$(REV) fp@582: endif fp@582: fp@732: ifeq (@ENABLE_E1000@,1) fp@1074: obj-m += e1000/ fp@667: endif fp@667: fp@364: #------------------------------------------------------------------------------