examples/dc_rtai/Kbuild.in
author Martin Troxler <ch1010277@ch10pc446>
Thu, 06 Jan 2011 13:11:21 +0100
changeset 2035 72a4e043e67d
parent 1809 586be70ff70a
child 2414 f35c7c8e6591
permissions -rw-r--r--
always use rt_mutex instead of semaphore for mutual exclusion on kernels >= 2.6.24 (removed --enable-mutex build option)
#------------------------------------------------------------------------------
#
#  $Id: Kbuild.in 1667 2009-02-24 12:51:39Z fp $
#
#  Copyright (C) 2006-2008  Florian Pose, Ingenieurgemeinschaft IgH
#
#  This file is part of the IgH EtherCAT Master.
#
#  The IgH EtherCAT Master is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License version 2, as
#  published by the Free Software Foundation.
#
#  The IgH EtherCAT Master is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
#  Public License for more details.
#
#  You should have received a copy of the GNU General Public License along
#  with the IgH EtherCAT Master; if not, write to the Free Software
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
#
#  ---
#  
#  The license mentioned above concerns the source code only. Using the
#  EtherCAT technology and brand is only permitted in compliance with the
#  industrial property and similar rights of Beckhoff Automation GmbH.
#
#  ---
#
#  vi: syntax=make
#
#------------------------------------------------------------------------------

obj-m := ec_dc_rtai_sample.o

ec_dc_rtai_sample-objs := dc_rtai_sample.o

EXTRA_CFLAGS := -I@RTAI_DIR@/include

KBUILD_EXTRA_SYMBOLS := \
	@abs_top_builddir@/$(LINUX_SYMVERS) \
	@abs_top_builddir@/master/$(LINUX_SYMVERS)

#------------------------------------------------------------------------------