[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-cvs
Subject:    [IPCop-cvs] ipcop/lfs atl1e,NONE,1.1.2.1
From:       Olaf Westrik <owes () users ! sourceforge ! net>
Date:       2009-08-08 9:01:59
Message-ID: E1MZhoN-0002PR-BX () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/ipcop/ipcop/lfs
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9143/lfs

Added Files:
      Tag: IPCOP_v1_4_0
	atl1e 
Log Message:
Add out of kernel driver atl1e.
Backport to 2.4.36 is reported and tested here: http://www.ipcops.com/phpbb3/viewtopic.php?f=16&t=13189


--- NEW FILE: atl1e ---
###############################################################################
# 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 <rod@sunsetsystems.com>                        #
#                                                                             #
# Modifications by:                                                           #
# ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
#          - Modified Makefile for IPCop build                                #
#                                                                             #
# $Id: atl1e,v 1.1.2.1 2009/08/08 09:01:57 owes Exp $
#                                                                             #
###############################################################################

###############################################################################
# Definitions
###############################################################################

include Config

VER        = 1.0.1.0

THISAPP    = l1e-$(VER)
DL_FILE    = $(THISAPP).tar.gz
#DL_FROM    = ftp://ftp.hogchain.net/pub/linux/attansic/atl1e/source/
DL_FROM    = $(URL_SFNET)/ipcop
DIR_APP    = $(DIR_SRC)/$(THISAPP)
ifeq "$(SMP)" ""
  TARGET     = $(DIR_INFO)/at$(THISAPP)
else
  TARGET     = $(DIR_INFO)/at$(THISAPP)-smp
endif

###############################################################################
# Top-level Rules
###############################################################################

objects = $(DL_FILE)

$(DL_FILE)			= $(DL_FROM)/$(DL_FILE)

$(DL_FILE)_MD5			= e4142978829906823c36a4c2547ec64b


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) : $(patsubst %,$(DIR_DL)/%,$(objects))
	@$(PREBUILD)
	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
ifeq "$(SMP)" ""
	# force 2.4 kernel rules, UP/SMP, just build as we don't want time consuming depmod
	cd $(DIR_APP)/src && CFLAGS="$(CFLAGS) -fno-strict-aliasing" make K_VERSION=$(KVER) SMP=0 atl1e.o
	cd $(DIR_APP)/src && gzip -nf9 atl1e.o
	install -D -m 644 $(DIR_APP)/src/atl1e.o.gz /lib/modules/$(KVER)/kernel/drivers/net/atl1e.o.gz
else
	# force 2.4 kernel rules, UP/SMP, just build as we don't want time consuming depmod
	cd $(DIR_APP)/src && CFLAGS="$(CFLAGS) -fno-strict-aliasing" make K_VERSION=$(KVER) SMP=1 atl1e.o
	cd $(DIR_APP)/src && gzip -nf9 atl1e.o
	install -D -m 644 $(DIR_APP)/src/atl1e.o.gz /lib/modules/$(KVER)-smp/kernel/drivers/net/atl1e.o.gz
endif
	@rm -rf $(DIR_APP)
	@$(POSTBUILD)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
IPCop-cvs mailing list
IPCop-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic