[leaf-commits] src/bering-uclibc4/source/initrd buildtool.mk, 1.8, 1.9

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

Modified Files:
	buildtool.mk 
Log Message:
bugfix


Index: buildtool.mk
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/initrd/buildtool.mk,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** buildtool.mk	18 Jun 2010 15:28:13 -0000	1.8
--- buildtool.mk	23 Jun 2010 19:24:07 -0000	1.9
***************
*** 4,8 ****
  INITRD_DIR=.
  INITRD_TARGET_DIR:=$(BT_BUILD_DIR)/config
- BT_KERNEL_VER=$(shell ls $(BT_STAGING_DIR)/lib/modules/|grep $(BT_KERNEL_RELEASE)|sort -r -V|head -n 1)
  
  $(INITRD_DIR)/.source:
--- 4,7 ----
***************
*** 19,23 ****
  	mkdir -p $(INITRD_TARGET_DIR)/boot/etc
  	
! 	BT_STAGING_DIR=$(BT_STAGING_DIR) BT_KERNEL_RELEASE=$(BT_KERNEL_VER) \
  		    sh $(BT_TOOLS_DIR)/getdep.sh "ata_.*" ahci ehci-hcd uhci-hcd \
  		    ohci-hcd usb-storage sd_mod sr_mod isofs vfat floppy >mod
--- 18,22 ----
  	mkdir -p $(INITRD_TARGET_DIR)/boot/etc
  	
! 	BT_STAGING_DIR=$(BT_STAGING_DIR) BT_KERNEL_RELEASE=$(BT_KERNEL_RELEASE) \
  		    sh $(BT_TOOLS_DIR)/getdep.sh "ata_.*" ahci ehci-hcd uhci-hcd \
  		    ohci-hcd usb-storage sd_mod sr_mod isofs vfat floppy >mod
***************
*** 25,29 ****
  	echo -e "isofs\nvfat">$(INITRD_TARGET_DIR)/boot/etc/modules
  	-rm -f files
! 	(BT_KERNEL_RELEASE=$(BT_KERNEL_VER); for i in `cat mod`; do echo -e "<File>\n\tSource\t= lib/modules/$$BT_KERNEL_RELEASE/$$i\n\t\
  	Filename\t= lib/modules/$$(echo $$i|sed 's/[a-z]*\/[a-z_/-]*\///g')\n\t\
  	Type\t= binary\n\tType\t= module\n\tPermissions\t= 644\n</File>">>files; done)
--- 24,28 ----
  	echo -e "isofs\nvfat">$(INITRD_TARGET_DIR)/boot/etc/modules
  	-rm -f files
! 	(BT_KERNEL_RELEASE=$(BT_KERNEL_RELEASE); for i in `cat mod`; do echo -e "<File>\n\tSource\t= lib/modules/$$BT_KERNEL_RELEASE/$$i\n\t\
  	Filename\t= lib/modules/$$(echo $$i|sed 's/[a-z]*\/[a-z_/-]*\///g')\n\t\
  	Type\t= binary\n\tType\t= module\n\tPermissions\t= 644\n</File>">>files; done)


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
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.