Revision: 5186
http://ipcop.svn.sourceforge.net/ipcop/?rev=5186&view=rev
Author: owes
Date: 2010-11-28 21:25:14 +0000 (Sun, 28 Nov 2010)
Log Message:
-----------
Add driver for Solos ADSL2+ card
Modified Paths:
--------------
ipcop/trunk/make.sh
ipcop/trunk/updates/1.9.19/ROOTFILES.i486-1.9.19
Added Paths:
-----------
ipcop/trunk/config/rootfiles/arch_i486/solos-pci
ipcop/trunk/lfs/solos-pci
Added: ipcop/trunk/config/rootfiles/arch_i486/solos-pci
===================================================================
--- ipcop/trunk/config/rootfiles/arch_i486/solos-pci
(rev 0)
+++ ipcop/trunk/config/rootfiles/arch_i486/solos-pci 2010-11-28 21:25:14 UTC
(rev 5186)
@@ -0,0 +1,2 @@
+lib/modules/KVER/extra/solos-pci.ko.gz
+usr/sbin/soloscli
Added: ipcop/trunk/lfs/solos-pci
===================================================================
--- ipcop/trunk/lfs/solos-pci (rev 0)
+++ ipcop/trunk/lfs/solos-pci 2010-11-28 21:25:14 UTC (rev 5186)
@@ -0,0 +1,96 @@
+###############################################################################
+# This file is part of the IPCop Firewall. #
+# #
+# IPCop 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. #
+# #
+# IPCop 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 IPCop; if not, write to the Free Software #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
+# #
+# Makefiles are based on LFSMake, which is #
+# Copyright (C) 2002 Rod Roard <[email protected]>
#
+# #
+# Modifications by: #
+# 17-03-2004 Mark Wormgoor < [email protected]> #
+# - Modified Makefile for IPCop build #
+# #
+# $Id$
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME = solos-pci
+VER = 0.11
+HOST_ARCH = i486
+OTHER_SRC = yes
+KERNEL_MOD = yes
+
+THISAPP = $(PKG_NAME)-$(VER)
+DL_FILE = $(THISAPP).tar.gz
+DL_FROM = $(URL_SFNET)/openadsl
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/linux-$(KVER)-$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = ab3f3fa654ef7c3a402980eca094e690
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+ @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+ @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+ @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
+
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+ cd $(DIR_APP) && make KDIR=/lib/modules/$(KVER)/build
+
+ cd $(DIR_APP) && install -D -m 0644 solos-pci.ko
/lib/modules/$(KVER)/extra/solos-pci.ko
+ gzip -fn9 /lib/modules/$(KVER)/extra/solos-pci.ko
+
+ ## Now we build the command line utility
+ cd $(DIR_APP)/soloscli && make && install -m 0755 --owner=root
--group=root soloscli /usr/sbin/
+
+ #...@rm -rf $(DIR_APP)
+ @$(POSTBUILD)
Property changes on: ipcop/trunk/lfs/solos-pci
___________________________________________________________________
Added: svn:keywords
+ Id
Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2010-11-28 20:29:49 UTC (rev 5185)
+++ ipcop/trunk/make.sh 2010-11-28 21:25:14 UTC (rev 5186)
@@ -1727,7 +1727,6 @@
chroot_make unzip
chroot_make linux
chroot_make CnxADSL
- chroot_make wanpipe
if [ x"${SKIP_AVM_DRIVERS}" != x"yes" ]; then
chroot_make fcdsl # DEBUG -- compiles, but functionality
is uncertain
chroot_make fcdsl2 # DEBUG -- compiles, but functionality
is uncertain
@@ -1735,6 +1734,8 @@
fi
chroot_make firmware-extractor
chroot_make pulsar
+ chroot_make solos-pci
+ chroot_make wanpipe
chroot_make pcmciautils
chroot_make eciadsl-usermode
chroot_make cpio
Modified: ipcop/trunk/updates/1.9.19/ROOTFILES.i486-1.9.19
===================================================================
--- ipcop/trunk/updates/1.9.19/ROOTFILES.i486-1.9.19 2010-11-28 20:29:49 UTC
(rev 5185)
+++ ipcop/trunk/updates/1.9.19/ROOTFILES.i486-1.9.19 2010-11-28 21:25:14 UTC
(rev 5186)
@@ -8,6 +8,7 @@
/boot/System.map-2.6.32-3
/lib/modules/2.6.32-3/extra/CnxADSL.ko.gz
/lib/modules/2.6.32-3/extra/pulsar.ko.gz
+/lib/modules/2.6.32-3/extra/solos-pci.ko.gz
/lib/modules/2.6.32-3/kernel
/usr/sbin/lsof
##
@@ -74,6 +75,9 @@
/usr/lib/rsyslog/omtesting.so
/usr/sbin/rsyslogd
##
+## solos-pci-0.11
+/usr/sbin/soloscli
+##
## udev-164
/lib/libudev.so.0
/lib/libudev.so.0.9.3
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn