Rev 4751 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4751 | Rev 4752 | ||
---|---|---|---|
Line 464... | Line 464... | ||
464 | # The first goal: floppy image. |
464 | # The first goal: floppy image. |
465 | $(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \ |
465 | $(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \ |
466 | Makefile \ |
466 | Makefile \ |
467 | $(BUILD_DIR)/boot_fat12.bin \ |
467 | $(BUILD_DIR)/boot_fat12.bin \ |
468 | $(targets) |
468 | $(targets) |
469 | echo $(LD) $(CC) $(NASM) |
- | |
470 | str=`date -u +"[auto-build %d %b %Y %R, r$(REV)]"`; \ |
469 | str=`date -u +"[auto-build %d %b %Y %R, r$(REV)]"`; \ |
471 | echo -n $$str|dd of=kernel.mnt bs=1 seek=`expr 279 - length "$$str"` conv=notrunc 2>/dev/null |
470 | echo -n $$str|dd of=kernel.mnt bs=1 seek=`expr 279 - length "$$str"` conv=notrunc 2>/dev/null |
472 | dd if=/dev/zero of=$(BUILD_DIR)/kolibri.img count=2880 bs=512 2>&1 |
471 | dd if=/dev/zero of=$(BUILD_DIR)/kolibri.img count=2880 bs=512 2>&1 |
473 | mformat -f 1440 -i $(BUILD_DIR)/kolibri.img :: |
472 | mformat -f 1440 -i $(BUILD_DIR)/kolibri.img :: |
474 | dd if=$(BUILD_DIR)/boot_fat12.bin of=$(BUILD_DIR)/kolibri.img count=1 bs=512 conv=notrunc 2>&1 |
473 | dd if=$(BUILD_DIR)/boot_fat12.bin of=$(BUILD_DIR)/kolibri.img count=1 bs=512 conv=notrunc 2>&1 |
Line 483... | Line 482... | ||
483 | mmd -i $(BUILD_DIR)/kolibri.img ::LIB |
482 | mmd -i $(BUILD_DIR)/kolibri.img ::LIB |
484 | mmd -i $(BUILD_DIR)/kolibri.img ::MEDIA |
483 | mmd -i $(BUILD_DIR)/kolibri.img ::MEDIA |
485 | mmd -i $(BUILD_DIR)/kolibri.img ::MEDIA/ImgF |
484 | mmd -i $(BUILD_DIR)/kolibri.img ::MEDIA/ImgF |
486 | mmd -i $(BUILD_DIR)/kolibri.img ::NETWORK |
485 | mmd -i $(BUILD_DIR)/kolibri.img ::NETWORK |
487 | mmd -i $(BUILD_DIR)/kolibri.img ::SETTINGS |
486 | mmd -i $(BUILD_DIR)/kolibri.img ::SETTINGS |
488 | $(mcopy_all_items) |
487 | @echo $(CC) $(LD) $(CFLAGS) $(LDFLAGS) && $(mcopy_all_items) |
Line 489... | Line 488... | ||
489 | 488 | ||
490 | # The second goal: LiveCD image. |
489 | # The second goal: LiveCD image. |
491 | $(BUILD_DIR)/kolibri.iso: $(BUILD_DIR)/kolibri.img $(mkisofs_extra_targets) |
490 | $(BUILD_DIR)/kolibri.iso: $(BUILD_DIR)/kolibri.img $(mkisofs_extra_targets) |
492 | mkisofs -U -J -pad -b kolibri.img -c boot.catalog -hide-joliet boot.catalog -graft-points \ |
491 | mkisofs -U -J -pad -b kolibri.img -c boot.catalog -hide-joliet boot.catalog -graft-points \ |