diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-04-30 11:04:07 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-04-30 11:04:07 +0000 |
commit | c09179c4e150d8588d617d3aea91debc146e1ea1 (patch) | |
tree | 2acf891a5a138850da2dedf6620c353fcf49b6fb /serverboot/Makefile | |
parent | ce959a36a7b1be57a2835b647540f5ba15c7735e (diff) | |
download | hurd-c09179c4e150d8588d617d3aea91debc146e1ea1.tar.gz hurd-c09179c4e150d8588d617d3aea91debc146e1ea1.tar.bz2 hurd-c09179c4e150d8588d617d3aea91debc146e1ea1.zip |
1998-09-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* bunzip2.c: New file.
* load.c (GZIP) (BZIP2): New cpp constants.
(boot_script_exec_cmd): If GZIP is defined, gunzip engine is enabled.
If BZIP2 is defined, bunzip2 engine is enabled.
* Makefile (SRCS): Add bunzip2.c.
(UNZIP_OBJS): Add do-bunzip2.o.
(CPPFLAGS): Add -DGZIP, -DBZIP2 and -DSMALL_BZIP2.
1998-09-03 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* gunzip.c: New file.
Copy libstore/gunzip.c and modify for use in serverboot.
* load.c (struct stuff): Add members, image_addr and image_size.
(mem_read) (mem_read_exec): New functions.
(boot_script_exec_cmd): Add gzexe feature.
* Makefile: Add unzip stuffs.
Diffstat (limited to 'serverboot/Makefile')
-rw-r--r-- | serverboot/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/serverboot/Makefile b/serverboot/Makefile index 12ff6375..d2ab975d 100644 --- a/serverboot/Makefile +++ b/serverboot/Makefile @@ -21,10 +21,7 @@ makemode := utility SRCS = bootstrap.c ffs_compat.c load.c wiring.c def_pager_setup.c \ ffs_file_io.c minix_ffs_compat.c default_pager.c file_io.c\ minix_file_io.c ext2_file_io.c kalloc.c strfcns.c exec.c \ - panic.c elf-load.c -OBJS = $(subst .c,.o,$(SRCS)) boot_script.o memory_objectServer.o \ - default_pagerServer.o excServer.o bootstrapServer.o \ - memory_object_defaultServer.o + panic.c elf-load.c gunzip.c bunzip2.c LCLHDRS = assert.h disk_inode_ffs.h fs.h queue.h defs.h ext2_fs.h \ minix_ffs_compat.h wiring.h dir.h ffs_compat.h minix_fs.h \ disk_inode.h file_io.h minix_super.h mach-exec.h @@ -32,8 +29,19 @@ target = serverboot HURDLIBS = threads installationdir = $(prefix)/boot +UNZIP_OBJS = unzip.o inflate.o util.o do-bunzip2.o +OBJS = $(subst .c,.o,$(SRCS)) boot_script.o memory_objectServer.o \ + default_pagerServer.o excServer.o bootstrapServer.o \ + memory_object_defaultServer.o $(UNZIP_OBJS) + vpath boot_script.c $(srcdir)/../boot +# Look for zip stuff +VPATH += $(srcdir)/../exec +# If SMALL_BZIP2 is defined, use relatively small memory. +# It's crucial for serverboot, because swap is not enabled yet. +CPPFLAGS += -I$(srcdir)/../exec -DGZIP -DBZIP2 -DSMALL_BZIP2 + MIGSFLAGS = -DSEQNOS LDFLAGS += -static |