代码拉取完成,页面将自动刷新
同步操作将从 lianzhijun/xenomai-ethercat 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#----------------------------------------------------------------------------
#
# $Id$
#
# Copyright (C) 2006-2010 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.
#
# vim: tw=78
#
#----------------------------------------------------------------------------
Name: @PACKAGE@
Version: @VERSION@
Release: 1
License: GPL
URL: http://etherlab.org/en/ethercat
Provides: @PACKAGE@
BuildRoot: %{_tmppath}/%{name}-%{version}
#BuildRequires: %kernel_module_package_buildreqs
#----------------------------------------------------------------------------
# Main Package
#----------------------------------------------------------------------------
Summary: IgH EtherCAT Master
Group: EtherLab
%description
This is an open-source EtherCAT master implementation for $__KERNELRELEASE . See the
FEATURES file for a list of features. For more information, see
http://etherlab.org/en/ethercat.
%kernel_module_package
#----------------------------------------------------------------------------
# Development package
#----------------------------------------------------------------------------
%package devel
Summary: Development files for applications that use the EtherCAT master.
Group: EtherLab
%description devel
This is an open-source EtherCAT master implementation for $__KERNELRELEASE . See the
FEATURES file for a list of features. For more information, see
http://etherlab.org/en/ethercat.
#----------------------------------------------------------------------------
%build
#%bootstrap
%configure --enable-sii-assign --disable-8139too --disable-eoe --enable-igb --libdir=/usr/xenomai/lib/ \
--with-xenomai-dir=/usr/xenomai --with-xenomai-config=/usr/xenomai/bin/xeno-config \
--with-linux-dir=<kernel output dir> --with-devices=8 --enable-rtdm \
--enable-hrtimer --enable-cycles
make all modules %{?_smp_mflags}
mkdir -p ${RPM_BUILD_ROOT}/usr/bin
%install
make DESTDIR=${RPM_BUILD_ROOT} install
make INSTALL_MOD_PATH=${RPM_BUILD_ROOT} modules_install
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%doc AUTHORS
%doc COPYING
%doc COPYING.LESSER
%doc ChangeLog
%doc FEATURES
%doc INSTALL
%doc NEWS
%doc README
%doc README.EoE
/etc/init.d/ethercat
/etc/sysconfig/ethercat
/usr/bin/ethercat
/usr/xenomai/lib/libethercat.so*
/usr/xenomai/lib/libethercat_rtdm.so*
/etc/ethercat.conf
/usr/sbin/ethercatctl
/usr/xenomai/lib/systemd/system/ethercat.service
/lib/modules/*
%files devel
%defattr(-,root,root)
/usr/include/*.h
/usr/xenomai/lib/libethercat.a
/usr/xenomai/lib/libethercat_rtdm.a
/usr/xenomai/lib/libethercat.la
/usr/xenomai/lib/libethercat_rtdm.la
#----------------------------------------------------------------------------
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。