Ignore:
Timestamp:
Mar 9, 2006, 4:35:00 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added assembly code for inb() and outb().
  • Print a small message at kernel boot time just to check that the kernel was properly loaded.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/build-kernel

    r569 r573  
    22
    33##  Kernel-mode libcaca compilation script -- Sam Hocevar <sam@zoy.org>
    4 ##  $Id: build-dos 333 2006-03-07 12:39:34Z sam $
     4##  $Id$
    55
    66set -x
     
    1616            --host i386
    1717
    18 (cd cucul && make)
    19 (cd caca && make)
     18# We need this.
     19make clean
    2020
    21 (cd src && make cacafire-aafire.o)
     21cd cucul && make && cd ..
     22cd caca && make && cd ..
    2223
    23 (cd kernel &&
    24     gcc $CFLAGS -c multiboot.S -o multiboot.o
    25     gcc $CFLAGS $CPPFLAGS -c kernel.c -o kernel.o)
     24cd src && make cacafire-aafire.o && cd ..
     25
     26cd kernel &&
     27    gcc $CFLAGS -c multiboot.S -o multiboot.o &&
     28    gcc $CFLAGS $CPPFLAGS -c kernel.c -o kernel.o &&
     29cd ..
    2630
    2731gcc $LDFLAGS -o src/cacafire kernel/multiboot.o kernel/kernel.o src/cacafire-aafire.o caca/.libs/libcaca.a cucul/.libs/libcucul.a
     
    2933objcopy -O binary src/cacafire cacafire.boot
    3034
     35# For further development: create floppy images using the kernel
     36#gcc -traditional -c -o bootsect.o bootsect.S
     37#ld -Ttext 0x0 -s --oformat binary bootsect.o -o cacafire.img
     38
Note: See TracChangeset for help on using the changeset viewer.