[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Makefile patch



(forwarded for Roberto Farina - JW)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,
in attachment there's a patch for the
vendors/Insicght/XC2VP7... Makefile
that adds to the "image" section the "compression" feature just
discussed on the ml (flthdr...)

Best regards

- --------------------------------------------------------
Roberto Farina
CEFRIEL - Computer Architectures and Operating Systems
Via Fucini, 2 - 20133 MILANO (ITALY)
Phone:  +39 02 23954 236
Fax:    +39 02 23954 254
~        178 606 5693
E-mail: roberto.farina@cefriel.it
- --------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFATCMkzF5ONZxALKMRAgzkAJ9BWcIPgUjmvAm2k1pfYgRkbYFurQCfc386
Z3D585NshV915V2g1N41iac=
=OAts
-----END PGP SIGNATURE-----

--------------040405060501030204040208
Content-Type: text/plain;
  name="Makefile.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
  filename="Makefile.patch"

Index: vendors/Insight/XC2VP7_Microblaze/Makefile
===================================================================
RCS file: /var/cvs/uClinux-dist/vendors/Insight/XC2VP7_Microblaze/Makefile,v
retrieving revision 1.1.1.1
diff -u -b -B -w -p -r1.1.1.1 Makefile
--- vendors/Insight/XC2VP7_Microblaze/Makefile	2004/02/19 04:35:38	1.1.1.1
+++ vendors/Insight/XC2VP7_Microblaze/Makefile	2004/03/05 09:13:09
@@ -101,7 +101,13 @@ romfs:

  image:
  	[ -d $(IMAGEDIR) ] || mkdir -p $(IMAGEDIR)
-	$(CROSS)flthdr $(ROMFSDIR)/bin/*
+	
+	#RF addition
+	for i in $(ROMFSDIR)/bin/* ; do \
+                $(CROSS)flthdr -z $$i; \
+        done
+
+	#$(CROSS)flthdr $(ROMFSDIR)/bin/*
  	$(CROSS)flthdr $(ROMFSDIR)/lib/lib[0-9].so
  	for i in $(RAM_FILES) ; do \
  		[ ! -f $(ROMFSDIR)/$$i ] || $(CROSS)flthdr -r $(ROMFSDIR)/$$i ; \
@@ -130,7 +136,7 @@ image:
  	echo -ne "\000" >> $(IMAGEZ)
  	echo -n $(CONFIG_PRODUCT) >> $(IMAGEZ)
  	$(ROOTDIR)/tools/cksum -b -o 2 $(IMAGEZ) >> $(IMAGEZ)
-	[ -n "$(NO_BUILD_INTO_TFTPBOOT)" ] || cp $(IMAGEZ) /tftpboot
+	[ -n "$(NO_BUILD_INTO_TFTPBOOT)" ] || cp $(IMAGEZ) $(TFTPDIR)
  	BSS=`$(CROSS)objdump --headers $(ROOTDIR)/$(LINUXDIR)/linux | \
  	  grep "\.bss"` ; \
  	ADDR=`set -- $${BSS} ; echo 0x$${4}` ; \

--------------040405060501030204040208--

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/