Build examples by default.
This commit is contained in:
parent
81bf8989d8
commit
aca58d41d2
|
|
@ -31,6 +31,6 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
obj-m := master/ devices/
|
||||
obj-m := examples/ master/ devices/
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -45,6 +45,9 @@ if ENABLE_USERLIB
|
|||
SUBDIRS += lib
|
||||
endif
|
||||
|
||||
# userspace example depends on lib/
|
||||
SUBDIRS += examples
|
||||
|
||||
DIST_SUBDIRS = \
|
||||
devices \
|
||||
examples \
|
||||
|
|
|
|||
|
|
@ -423,6 +423,7 @@ AC_CONFIG_FILES([
|
|||
devices/Makefile
|
||||
devices/e1000/Kbuild
|
||||
devices/e1000/Makefile
|
||||
examples/Kbuild
|
||||
examples/Makefile
|
||||
examples/mini/Kbuild
|
||||
examples/mini/Makefile
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ SUBDIRS = e1000
|
|||
|
||||
DIST_SUBDIRS = e1000
|
||||
|
||||
# using HEADERS to enable tags target
|
||||
noinst_HEADERS = \
|
||||
8139too-2.6.13-ethercat.c \
|
||||
8139too-2.6.13-orig.c \
|
||||
|
|
@ -50,7 +51,6 @@ noinst_HEADERS = \
|
|||
8139too-2.6.23-orig.c \
|
||||
8139too-2.6.24-ethercat.c \
|
||||
8139too-2.6.24-orig.c \
|
||||
Kbuild.in \
|
||||
e100-2.6.20-ethercat.c \
|
||||
e100-2.6.20-orig.c \
|
||||
e100-2.6.24-ethercat.c \
|
||||
|
|
@ -59,6 +59,9 @@ noinst_HEADERS = \
|
|||
e100-2.6.26-orig.c \
|
||||
ecdev.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,36 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# $Id: Kbuild.in 1097 2008-04-03 15:31:34Z fp $
|
||||
#
|
||||
# Copyright (C) 2006 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
|
||||
# as published by the Free Software Foundation; either version 2 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# 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 right to use EtherCAT Technology is granted and comes free of
|
||||
# charge under condition of compatibility of product made by
|
||||
# Licensee. People intending to distribute/sell products based on the
|
||||
# code, have to sign an agreement to guarantee that products using
|
||||
# software based on IgH EtherCAT master stay compatible with the actual
|
||||
# EtherCAT specification (which are released themselves as an open
|
||||
# standard) as the (only) precondition to have the right to use EtherCAT
|
||||
# Technology, IP and trade marks.
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
obj-m := mini/
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
@ -31,9 +31,19 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
if ENABLE_USERLIB
|
||||
SUBDIRS = user
|
||||
endif
|
||||
|
||||
DIST_SUBDIRS = \
|
||||
mini \
|
||||
rtai \
|
||||
user
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -31,9 +31,8 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# HEADERS, because of tags target
|
||||
# using HEADERS to enable tags target
|
||||
noinst_HEADERS = \
|
||||
Kbuild.in \
|
||||
cdev.c cdev.h \
|
||||
datagram.c datagram.h \
|
||||
debug.c debug.h \
|
||||
|
|
@ -67,6 +66,9 @@ noinst_HEADERS = \
|
|||
sync_config.c sync_config.h \
|
||||
voe_handler.c voe_handler.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue