Subversion Repositories HelenOS-historic

Rev

Rev 1771 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1771 Rev 1778
Line 31... Line 31...
31
build: image.iso
31
build: image.iso
32
 
32
 
33
image.iso: kernel
33
image.iso: kernel
34
	make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(CONFIG_IMAGE)
34
	make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(CONFIG_IMAGE)
35
	mkdir -p $(TMP)/boot
35
	mkdir -p $(TMP)/boot
36
	mkdir -p $(TMP)/kernel
36
	mkdir -p $(TMP)/HelenOS
37
	cat arch/$(ARCH)/silo/silo.tar.gz | (cd $(TMP)/boot; tar xvfz -)
37
	cat arch/$(ARCH)/silo/silo.tar.gz | (cd $(TMP)/boot; tar xvfz -)
38
	cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING arch/$(ARCH)/silo/silo.conf $(TMP)/boot
38
	cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING arch/$(ARCH)/silo/silo.conf $(TMP)/boot
39
	ln -sf ../../$(KERNELDIR)/kernel.bin $(TMP)/kernel/kernel.bin
39
	cp arch/$(ARCH)/loader/image.boot $(TMP)/HelenOS/image.boot
40
	mkisofs -f -G $(TMP)/boot/isofs.b -B ... -r -o image.iso $(TMP)/
40
	mkisofs -f -G $(TMP)/boot/isofs.b -B ... -r -o image.iso $(TMP)/
41
 
41
 
42
clean: clean_kernel
42
clean: clean_boot_gen clean_kernel
-
 
43
	 make -C arch/$(ARCH)/loader clean
43
	-rm -fr $(TMP)
44
	-rm -fr $(TMP)
44
	-rm -f image.iso
45
	-rm -f image.iso
45
 
46
 
46
arch_distclean: distclean_kernel
47
arch_distclean: distclean_kernel