Kaynağa Gözat

Clean up files generated by build-kernel in make clean.

tags/v0.99.beta17
Sam Hocevar sam 15 yıl önce
ebeveyn
işleme
f5ba6b4a04
2 değiştirilmiş dosya ile 10 ekleme ve 5 silme
  1. +6
    -5
      build-kernel
  2. +4
    -0
      kernel/Makefile.am

+ 6
- 5
build-kernel Dosyayı Görüntüle

@@ -9,10 +9,10 @@ set -e
CFLAGS="-fno-builtin -O0 -I. -I.. -I../caca/ -Wall -D__KERNEL__ -fno-stack-protector -m32"
LDFLAGS="-nostdlib -Wl,-N -Wl,-Ttext -Wl,100000"

#./configure --disable-slang --disable-ncurses --disable-win32 \
# --disable-conio --disable-x11 --disable-gl --disable-network \
# --enable-vga --disable-imlib2 --disable-doc \
# --host i386
./configure --disable-slang --disable-ncurses --disable-win32 \
--disable-conio --disable-x11 --disable-gl --disable-network \
--enable-vga --disable-imlib2 --disable-doc \
--host i386

# Compile cacademo, leave it as an object
cd caca && make && cd ..
@@ -63,4 +63,5 @@ ls -ail kern.bin
cd ..

# Copy bootsector at the very beginning of the floppy (first sector/512 bytes of the image), then kernel right after
cat kernel/bootsect.bin kernel/kern.bin /dev/zero | dd of=cacademo.img bs=512 count=2500
cat kernel/bootsect.bin kernel/kern.bin /dev/zero | dd of=cacademo.img bs=512 count=2500


+ 4
- 0
kernel/Makefile.am Dosyayı Görüntüle

@@ -17,3 +17,7 @@ libkernel_la_SOURCES = \
libkernel_la_LDFLAGS = -no-undefined
AM_CPPFLAGS = -I$(top_srcdir)

clean: clean-local
clean-local:
rm -f bootsect.bin kern.bin kernel.map


Yükleniyor…
İptal
Kaydet