[leaf-commits] src/bering-uclibc4/source/pcmcia buildtool.cfg, NONE, 1.1 buildtool.mk, NONE, 1.1 config.opts, NONE, 1.1 pcmciautils-017.tar.bz2, NONE, 1.1

Andrew <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/pcmcia
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv21054/pcmcia

Added Files:
	buildtool.cfg buildtool.mk config.opts pcmciautils-017.tar.bz2 
Log Message:
replaced deprecated pcmcia-cs to pcmciautils


--- NEW FILE: config.opts ---
#
# Local PCMCIA Configuration File
#
#----------------------------------------------------------------------
#
# System resources available for PCMCIA cards
#
# NOTE: these settings have no effect on resources assigned to a
# CardBus bridge device itself; this file only affects resources
# assigned to cards.  Also, interrupt settings here will only affect
# ISA bus interrupts assigned to 16-bit cards.  PCI interrupts
# generally can't be reconfigured.
#
# With the kernel PCMCIA subsystem, these settings also have no effect
# at all on resources used for 32-bit CardBus cards.  Those are set by
# the PCI hotplug subsystem.
#

include port 0x100-0x4ff
include port 0x800-0x8ff
include port 0xc00-0xcff
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff
include memory 0x60000000-0x60ffffff

# High port numbers do not always work...
# include port 0x1000-0x17ff

# Extra port range for IBM Token Ring
include port 0xa00-0xaff

# Resources we should not use, even if they appear to be available

# First built-in serial port
exclude irq 4
# Second built-in serial port
#exclude irq 3
# First built-in parallel port
exclude irq 7

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


--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
  Server = cvs4-sourceforge
  Revision = HEAD
  Directory = pcmcia
</File>

<File pcmciautils-017.tar.bz2>
  Server = cvs-sourceforge
  Revision = HEAD
  envname = PCMCIA_SOURCE
  Directory = pcmcia
</File>

#<File pcmcia.init>
#  Server = cvs4-sourceforge
#  Revision = HEAD
#  Directory = pcmcia
#</File>

#<File pcmcia.default>
#  Server = cvs4-sourceforge
#  Revision = HEAD
#  Directory = pcmcia
#</File>

#<File config>
#  Server = cvs4-sourceforge
#  Revision = HEAD
#  Directory = pcmcia
#</File>

#<File network>
#  Server = cvs4-sourceforge
#  Revision = HEAD
#  Directory = pcmcia
#</File>

<File config.opts>
  Server = cvs4-sourceforge
  Revision = HEAD
  Directory = pcmcia
</File>

#<File shared>
#  Server = cvs4-sourceforge
#  Revision = HEAD
#  Directory = pcmcia
#</File>

#<File serial>
#  Server = cvs4-sourceforge
#  Revision = HEAD
#  Directory = pcmcia
#</File>

<Package>
	<pcmcia>
		Version = 017
		Revision = 1

		Help <<EOF
		PCMCIA Card Services for Linux
		Requires the standard pcmcia ds.o, pcmcia_core.o and yenta_socket.o 
		kernel modules and additional modules for the pcmcia card.
		Homepage: http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
		LEAF package by __PACKAGER__, __BUILDDATE__
		EOF
		
		<Permissions>
			Files = 644
			Directories = 755
		</Permissions>

		<Owner>
			Files = root:root
			Directories = root:root
		</Owner>
		
		<Contents>
			<File>          
				Source          = sbin/pccardctl
				Filename        = sbin/pccardctl
				Type            = binary
				Permissions = 755
			</File>		
			<File>          
				Target          = sbin/pccardctl
				Filename        = sbin/lspcmcia
				Type            = link
				Permissions = 755
			</File>		
			<File>          
				Source          = sbin/pcmcia-check-broken-cis
				Filename        = sbin/pcmcia-check-broken-cis
				Type            = binary
				Permissions = 755
			</File>		
			<File>          
				Source          = sbin/pcmcia-socket-startup
				Filename        = sbin/pcmcia-socket-startup
				Type            = binary
				Permissions = 755
			</File>		
#			<File>          
#				Source          = etc/pcmcia/cis/*
#				Filename        = etc/pcmcia/cis/
#				Type            = binary
#				Permissions = 644
#			</File>		
#			<File>          
#				Source          = etc/init.d/pcmcia
#				Filename        = etc/init.d/pcmcia
#				Type            = binary
#				Permissions = 755
#			</File>		
#			<File>          
#				Source          = etc/default/pcmcia
#				Filename        = etc/default/pcmcia
#				Description	= pcmcia default parameters
#				Type		= conf
#				Type		= local
#				Type            = binary
#				Permissions = 644
#			</File>		
			<File>          
				Source          = etc/pcmcia/config.opts
				Filename        = etc/pcmcia/config.opts
				Description	= pcmcia card local configuration file
				Type		= conf
				Type            = binary
				Permissions = 644
			</File>		
#			<File>          
#				Source          = etc/pcmcia/config
#				Filename        = etc/pcmcia/config
#				Description	= pcmcia card configuration database
#				Type		= conf
#				Type            = binary
#				Permissions = 644
#			</File>		
#			<File>          
#				Source          = etc/pcmcia/network
#				Filename        = etc/pcmcia/network
#				Type            = binary
#				Permissions = 755
#			</File>		
#			<File>          
#				Source          = etc/pcmcia/shared
#				Filename        = etc/pcmcia/shared
#				Type            = binary
#				Permissions = 644
#			</File>		
#			<File>          
#				Source          = etc/pcmcia/serial
#				Filename        = etc/pcmcia/serial
#				Type            = binary
#				Permissions = 755
#			</File>		
			<File>
				Filename	= etc/pcmcia
				Type		= local
			</File>
#			<File>
#				Filename 	= lib/modules/pcmcia
#				Type		= directory
#			</File>
		</Contents>			
	</pcmcia>
</Package>

--- NEW FILE: buildtool.mk ---
#############################################################
#
# PCMCIA 
#
#############################################################

include $(MASTERMAKEFILE)

PCMCIA_DIR:=pcmciautils-017
PCMCIA_TARGET_DIR:=$(BT_BUILD_DIR)/pcmcia
STRIP_OPTIONS=-s --remove-section=.note --remove-section=.comment


$(PCMCIA_DIR)/.source:
	bzcat $(PCMCIA_SOURCE) | tar -xvf -
	touch $(PCMCIA_DIR)/.source
	
$(PCMCIA_DIR)/.configured: $(PCMCIA_DIR)/.source
#	(cd $(PCMCIA_DIR) ; ./Configure --kernel="$(BT_LINUX_DIR)" \
#		--notrust --cardbus --nopnp --apm --nox11 --srctree --noprompt --sysv \
#		--arch=i386 \
#		--ucc=$(TARGET_CC) \
#		--kcc=$(TARGET_CC) \
#		--ld=$(TARGET_LD)	);
	touch $(PCMCIA_DIR)/.configured
	
	
source: $(PCMCIA_DIR)/.source

#build: $(PCMCIA_DIR)/.configured
build: $(PCMCIA_DIR)/.configured
	-mkdir -p $(PCMCIA_TARGET_DIR)
	-mkdir -p $(PCMCIA_TARGET_DIR)/sbin
	-mkdir -p $(PCMCIA_TARGET_DIR)/etc/pcmcia
#	-mkdir -p $(PCMCIA_TARGET_DIR)/etc/default
#	-mkdir -p $(PCMCIA_TARGET_DIR)/etc/init.d
	make -C $(PCMCIA_DIR) all 	
	-$(BT_STRIP) $(STRIP_OPTIONS) $(PCMCIA_DIR)/cardmgr/cardmgr
	-$(BT_STRIP) $(STRIP_OPTIONS) $(PCMCIA_DIR)/cardmgr/cardctl
#	cp -a config $(PCMCIA_TARGET_DIR)/etc/pcmcia
#	cp -a network $(PCMCIA_TARGET_DIR)/etc/pcmcia
#	cp -a shared $(PCMCIA_TARGET_DIR)/etc/pcmcia
	cp -a config.opts $(PCMCIA_TARGET_DIR)/etc/pcmcia
#	cp -a serial $(PCMCIA_TARGET_DIR)/etc/pcmcia
#	cp -a $(PCMCIA_DIR)/etc/cis/*.dat $(PCMCIA_TARGET_DIR)/etc/pcmcia/cis
#	cp -a pcmcia.default $(PCMCIA_TARGET_DIR)/etc/default/pcmcia
#	cp -a pcmcia.init $(PCMCIA_TARGET_DIR)/etc/init.d/pcmcia
#	cp -a $(PCMCIA_DIR)/cardmgr/cardmgr $(PCMCIA_TARGET_DIR)/sbin 
#	cp -a $(PCMCIA_DIR)/cardmgr/cardctl $(PCMCIA_TARGET_DIR)/sbin 
#	cp -a $(PCMCIA_DIR)/cardmgr/cardmgr $(PCMCIA_TARGET_DIR)/sbin 
	cp -a $(PCMCIA_DIR)/pccardctl $(PCMCIA_TARGET_DIR)/sbin 
	cp -a $(PCMCIA_DIR)/pcmcia-check-broken-cis $(PCMCIA_TARGET_DIR)/sbin 
	cp -a $(PCMCIA_DIR)/pcmcia-socket-startup $(PCMCIA_TARGET_DIR)/sbin 
	cp -a $(PCMCIA_TARGET_DIR)/* $(BT_STAGING_DIR)	
	touch $(PCMCIA_DIR)/.build	

clean:
	-make -C $(PCMCIA_DIR) clean
	rm -rf $(PCMCIA_TARGET_DIR)
	rm -f $(PCMCIA_DIR)/.build
	rm -f $(PCMCIA_DIR)/.configured
	
srcclean:
	rm -rf $(PCMCIA_DIR)
	

--- NEW FILE: pcmciautils-017.tar.bz2 ---
(This appears to be a binary file; contents omitted.)


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.