Rev 1787 | Rev 2185 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1802 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
- | 29 | TASKS = \ |
|
- | 30 | $(USPACEDIR)/init/init \ |
|
29 | build: image.iso |
31 | $(USPACEDIR)/ns/ns \ |
- | 32 | $(USPACEDIR)/pci/pci \ |
|
- | 33 | $(USPACEDIR)/fb/fb \ |
|
- | 34 | $(USPACEDIR)/kbd/kbd \ |
|
- | 35 | $(USPACEDIR)/console/console \ |
|
- | 36 | $(USPACEDIR)/tetris/tetris \ |
|
- | 37 | $(USPACEDIR)/ipcc/ipcc \ |
|
- | 38 | $(USPACEDIR)/klog/klog |
|
30 | 39 | ||
31 | image.iso: kernel uspace |
40 | build: $(BASE)/image.iso |
- | 41 | ||
- | 42 | $(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(TASKS) |
|
32 | mkdir -p arch/$(ARCH)/iso/boot/grub |
43 | mkdir -p arch/$(ARCH)/iso/boot/grub |
33 | cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/ |
44 | cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/ |
34 | cp arch/$(ARCH)/grub/menu.lst arch/$(ARCH)/iso/boot/grub/ |
45 | cp arch/$(ARCH)/grub/menu.lst arch/$(ARCH)/iso/boot/grub/ |
35 | cp $(KERNELDIR)/kernel.bin arch/$(ARCH)/iso/boot/ |
46 | cp $(KERNELDIR)/kernel.bin arch/$(ARCH)/iso/boot/ |
36 | cp $(USPACEDIR)/init/init arch/$(ARCH)/iso/boot/ |
- | |
37 | cp $(USPACEDIR)/ns/ns arch/$(ARCH)/iso/boot/ |
47 | for task in $(TASKS) ; do \ |
38 | cp $(USPACEDIR)/pci/pci arch/$(ARCH)/iso/boot/ |
- | |
39 | cp $(USPACEDIR)/fb/fb arch/$(ARCH)/iso/boot/ |
48 | cp $$task arch/$(ARCH)/iso/boot/ ; \ |
40 | cp $(USPACEDIR)/kbd/kbd arch/$(ARCH)/iso/boot/ |
49 | done |
41 | cp $(USPACEDIR)/console/console arch/$(ARCH)/iso/boot/ |
- | |
42 | cp $(USPACEDIR)/tetris/tetris arch/$(ARCH)/iso/boot/ |
- | |
43 | cp $(USPACEDIR)/ipcc/ipcc arch/$(ARCH)/iso/boot/ |
- | |
44 | cp $(USPACEDIR)/klog/klog arch/$(ARCH)/iso/boot/ |
- | |
45 | mkisofs -J -r -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o image.iso arch/$(ARCH)/iso/ |
50 | mkisofs -J -r -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o $(BASE)/image.iso arch/$(ARCH)/iso/ |
46 | 51 | ||
47 | clean: clean_kernel clean_uspace |
52 | clean: |
48 | -rm -fr arch/$(ARCH)/iso |
53 | -rm -fr arch/$(ARCH)/iso |
49 | -rm -f image.iso |
54 | -rm -f $(BASE)/image.iso |
50 | - | ||
51 | arch_distclean: distclean_kernel distclean_uspace |
- |