ppcrcd: Makefile yaboot/include/gunzip.h

sparky cvs at pld-linux.org
Thu Jun 16 15:57:38 CEST 2005


Author: sparky
Date: Thu Jun 16 15:57:32 2005
New Revision: 6101

Added:
   ppcrcd/yaboot/include/gunzip.h
Modified:
   ppcrcd/Makefile
Log:
- missing gunzip.h


Modified: ppcrcd/Makefile
==============================================================================
--- ppcrcd/Makefile	(original)
+++ ppcrcd/Makefile	Thu Jun 16 15:57:32 2005
@@ -45,13 +45,15 @@
 		image
 
 ppcrcd.sqf:	root.stripped $(STOP) $(POST) pld-release
+	rm -f $@
 	$(SU) /sbin/mksquashfs \
 		root.stripped  \
 		$@
 
 initrd.sqf:	root.installed
-	rm -rf initrd.work
+	rm -rf initrd.work $@
 	cp -r initrd.dir initrd.work
+	find initrd.work -name .svn | xargs rm -rf
 	sed -e 's/@_VERSION_@/$(VERSION)/g'	\
 		-i initrd.work/linuxrc
 	for MOD in $(INITRDMODULES); do \
@@ -80,7 +82,7 @@
 
 boot:	root.installed initrd.sqf yaboot/yaboot
 	mkdir boot.work
-	cp boot.dir/{hfs.map,boot.msg,yaboot.conf} boot.work
+	cp boot.dir/{hfs.map,boot.msg,yaboot.conf,*.help} boot.work
 	rm -f boot.work/*~
 	sed -e 's/@_VERSION_@/$(VERSION)/g'	\
 		-i boot.work/boot.msg		\

Added: ppcrcd/yaboot/include/gunzip.h
==============================================================================
--- (empty file)
+++ ppcrcd/yaboot/include/gunzip.h	Thu Jun 16 15:57:32 2005
@@ -0,0 +1,11 @@
+
+#include "file.h"
+extern struct boot_file_t gunzip_file;
+extern int compressed_file;
+
+//gunzip_test_header
+//gunzip_read
+int gunzip_test_header (void);
+int gunzip_read (void* buffer, unsigned int len);
+int gunzip_seek (unsigned int len);
+



More information about the pld-cvs-commit mailing list