Added generated Makefiles to .gitignore for a clear git status after build.
Please don't take the changes related to the new Flash block device in
ELKS configuration.
I forgot to branch before starting that code :-/
Regards,
MFLD
>From 74af04d7f14a984206155a77e736bc083d35e1da Mon Sep 17 00:00:00 2001
From: "mfld.fr" <mfld.fr@xxxxxxxxx>
Date: Fri, 27 Mar 2015 19:30:46 +0100
Subject: [PATCH] Added generated Makefiles to .gitignore
---
.gitignore | 2 +
elks/Documentation/Configure.help | 20 +++++++
elks/arch/i86/286pmode/Makefile | 55 -------------------
elks/arch/i86/boot/Makefile | 29 ----------
elks/arch/i86/defconfig | 1 +
elks/arch/i86/drivers/block/Config.in | 4 ++
elks/arch/i86/drivers/block/Makefile | 59 --------------------
elks/arch/i86/drivers/char/Makefile | 87 -----------------------------
elks/arch/i86/kernel/Makefile | 68 -----------------------
elks/arch/i86/lib/Makefile | 75 -------------------------
elks/arch/i86/mm/Makefile | 56 -------------------
elks/arch/i86/sibo/Makefile | 28 ----------
elks/arch/i86/tools/Makefile | 77 --------------------------
elks/fs/Makefile | 57 -------------------
elks/fs/minix/Makefile | 55 -------------------
elks/fs/romfs/Makefile | 55 -------------------
elks/init/Makefile | 28 ----------
elks/kernel/Makefile | 56 -------------------
elks/lib/Makefile | 56 -------------------
elks/net/Makefile | 61 ---------------------
elks/net/ipv4/Makefile | 28 ----------
elks/net/nano/Makefile | 28 ----------
elks/net/unix/Makefile | 28 ----------
elks/scripts/Makefile | 78 --------------------------
elks/scripts/lxdialog/Makefile | 100 ----------------------------------
elks/video/ansi/Makefile | 28 ----------
26 files changed, 27 insertions(+), 1192 deletions(-)
delete mode 100644 elks/arch/i86/286pmode/Makefile
delete mode 100644 elks/arch/i86/boot/Makefile
delete mode 100644 elks/arch/i86/drivers/block/Makefile
delete mode 100644 elks/arch/i86/drivers/char/Makefile
delete mode 100644 elks/arch/i86/kernel/Makefile
delete mode 100644 elks/arch/i86/lib/Makefile
delete mode 100644 elks/arch/i86/mm/Makefile
delete mode 100644 elks/arch/i86/sibo/Makefile
delete mode 100644 elks/arch/i86/tools/Makefile
delete mode 100644 elks/fs/Makefile
delete mode 100644 elks/fs/minix/Makefile
delete mode 100644 elks/fs/romfs/Makefile
delete mode 100644 elks/init/Makefile
delete mode 100644 elks/kernel/Makefile
delete mode 100644 elks/lib/Makefile
delete mode 100644 elks/net/Makefile
delete mode 100644 elks/net/ipv4/Makefile
delete mode 100644 elks/net/nano/Makefile
delete mode 100644 elks/net/unix/Makefile
delete mode 100644 elks/scripts/Makefile
delete mode 100644 elks/scripts/lxdialog/Makefile
delete mode 100644 elks/video/ansi/Makefile
diff --git a/.gitignore b/.gitignore
index dd5b20a..00b977e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@ Config.in
dev86
.config
.config.old
+Makefile
#
# Never ignore these
@@ -29,6 +30,7 @@ elks/arch/i86/boot/bootsect
elks/arch/i86/boot/setup
elks/arch/i86/boot/system
elks/arch/i86/drivers/char/KeyMaps/keymaps.h
+elks/arch/i86/Image
elks/arch/i86/kernel/entry.c
elks/arch/i86/tools/build
elks/arch/i86/tools/mkbootloader
diff --git a/elks/Documentation/Configure.help b/elks/Documentation/Configure.help
index 9fa3004..0c13ebc 100644
--- a/elks/Documentation/Configure.help
+++ b/elks/Documentation/Configure.help
@@ -565,6 +565,26 @@ CONFIG_BLK_DEV_HD
Currently not tested. Use at you own risk.
+Flash memory support
+CONFIG_BLK_DEV_FLASH
+ Device driver to access to the Flash memory that is located
+ at the upper address space and that contains the bootstrap,
+ the first-stage loader and the BIOS.
+
+ Used on embedded systems to flash the second-stage loader,
+ the kernel and the initial RAM disk (initrd).
+
+ This driver is experimental and uses the standard Flash software
+ commands to erase or write sectors. Typical sector size is 4K.
+
+Flash lowest segment
+CONFIG_BLK_DEV_FLASH_LOW
+ Lowest segment of the Flash memory. Default is F000 for a 64K
+ memory that includes the bootstrap at FFFF:0.
+
+ Adjust this parameter to the actual size of your Flash memory
+ on your system to be able to read and program the whole chip.
+
RAM Drive support
CONFIG_BLK_DEV_RAM
Support for a RAM disk device driver which allows up to eight
diff --git a/elks/arch/i86/286pmode/Makefile b/elks/arch/i86/286pmode/Makefile
deleted file mode 100644
index 77a39af..0000000
--- a/elks/arch/i86/286pmode/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# Makefile for the ELKS 286pmode extender.
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ../../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME = pmode286
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT = main.c
-
-#########################################################################
-# Include standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to be compiled. crt0.o should be first.
-
-OBJS = crt0.o main.o irq.o
-
-#########################################################################
-# Commands.
-
-all: pmode286
-
-pmode286: $(OBJS)
- $(LD) $(LDFLAGS) -i $(OBJS) ../lib/lib86.a -M -o pmode286 \
- > $(BASEDIR)/pmode286.map
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Makefile Config.in *.c *.h $(DISTDIR)/arch/i86/286pmode
- cp -pf crt0.s irq.s $(DISTDIR)/arch/i86/286pmode
-
-#########################################################################
-### Dependencies:
diff --git a/elks/arch/i86/boot/Makefile b/elks/arch/i86/boot/Makefile
deleted file mode 100644
index 476e47e..0000000
--- a/elks/arch/i86/boot/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# Note that the standard Makefile rules and defines have been moved to
-# the file below.
-
-BASEDIR = ../../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME = Image bootsect nbImage nbImage.rd netbootsect setup \
- system system.app
-
-DEPEND =
-
-DISTFILES = empty system.afl system.rsz tux.pic
-
-NOINDENT = crt1.c
-
-#########################################################################
-# Include the standard rules.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-### Dependencies:
diff --git a/elks/arch/i86/defconfig b/elks/arch/i86/defconfig
index caf9dbe..1d8f85e 100644
--- a/elks/arch/i86/defconfig
+++ b/elks/arch/i86/defconfig
@@ -114,6 +114,7 @@ CONFIG_BLK_DEV_FD=n
CONFIG_BLK_DEV_HD=n
CONFIG_DMA=n
CONFIG_BLK_DEV_RAM=n
+CONFIG_BLK_DEV_FLASH=n
CONFIG_BLK_DEV_CHAR=y
#
diff --git a/elks/arch/i86/drivers/block/Config.in b/elks/arch/i86/drivers/block/Config.in
index 4c636f9..5582420 100644
--- a/elks/arch/i86/drivers/block/Config.in
+++ b/elks/arch/i86/drivers/block/Config.in
@@ -33,6 +33,10 @@ mainmenu_option next_comment
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
bool 'Normal floppy disk support' CONFIG_BLK_DEV_FD n
bool 'Normal IDE hardisk support' CONFIG_BLK_DEV_HD n
+ bool 'Flash memory support' CONFIG_BLK_DEV_FLASH n
+ fi
+ if [ "$CONFIG_BLK_DEV_FLASH" = "y" ]; then
+ hex 'Flash lowest segment' CONFIG_BLK_DEV_FLASH_LOW 0xF000
fi
if [ "$CONFIG_BLK_DEV_FD" = "y" ]; then
define_bool CONFIG_DMA y
diff --git a/elks/arch/i86/drivers/block/Makefile b/elks/arch/i86/drivers/block/Makefile
deleted file mode 100644
index b41e19b..0000000
--- a/elks/arch/i86/drivers/block/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-# Makefile for the ELKS blocks devices.
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ../../../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT = directhd.c
-
-#########################################################################
-# Include standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to be compiled.
-
-OBJS = genhd.o doshd.o ll_rw_blk.o rd.o floppy.o directhd.o init.o \
- sibo_ssd.o ssd_asm.o
-
-#########################################################################
-# Commands.
-
-all: blk_drv.a
-
-blk_drv.a: $(OBJS)
- ar rcs blk_drv.a $(OBJS)
-
-ssd_asm.o: ssd_asm.s
-
-ssd_asm.s: ssd_asm.S
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Config.in Makefile $(DISTDIR)/arch/i86/drivers/block
- cp -pf *.S *.h *.c $(DISTDIR)/arch/i86/drivers/block
-
-#########################################################################
-### Dependencies:
diff --git a/elks/arch/i86/drivers/char/Makefile b/elks/arch/i86/drivers/char/Makefile
deleted file mode 100644
index b3ba8a2..0000000
--- a/elks/arch/i86/drivers/char/Makefile
+++ /dev/null
@@ -1,87 +0,0 @@
-# Makefile for the ELKS character devices.
-#
-#########################################################################
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to the base directory.
-
-BASEDIR = ../../../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES = CGAsnow Changes NEW_NOTES NOTES
-
-NOINDENT = bell.c bioscon.c
-# console.c sibo_con.c
-
-#########################################################################
-# Include standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to be compiled.
-
-ifeq ($(CONFIG_ARCH_SIBO), y)
-OBJS = init.o common.o con_asm.o font.o sibo_key.o key_asm.o mem.o \
- sibo_con.o meta.o ntty.o ser_asm.o pty.o
-else
-OBJS = bioscon.o common.o serial.o lp.o xt_key.o init.o dircon.o mem.o \
- ntty.o meta.o tcpdev.o pty.o bell.o # clist.o tty.o
-endif
-
-#########################################################################
-# Commands.
-
-all: chr_drv.a
-
-chr_drv.a: $(OBJS)
- ar rcs chr_drv.a $(OBJS)
- sync
-
-con_asm.s: con_asm.S
-
-con_asm.o: con_asm.s
-
-font.s: font.S
-
-font.o: font.s
-
-key_asm.s: key_asm.S
-
-key_asm.o: key_asm.s
-
-ser_asm.s: ser_asm.S
-
-ser_asm.o: ser_asm.s
-
-KeyMaps/keymaps.h:
- make -C KeyMaps keymaps.h
-
-#########################################################################
-# Standard commands.
-
-distdir:
- mkdir $(DISTDIR)/arch/i86/drivers/char/KeyMaps
- ${MAKE} -C KeyMaps distdir
- cp -pf CGAsnow Changes NEW_NOTES $(DISTDIR)/arch/i86/drivers/char
- cp -pf NOTES README_CONSOLE $(DISTDIR)/arch/i86/drivers/char
- cp -pf Makefile Config.in $(DISTDIR)/arch/i86/drivers/char
- cp -pf *.S *.h *.c $(DISTDIR)/arch/i86/drivers/char
-
-#########################################################################
-### Dependencies:
diff --git a/elks/arch/i86/kernel/Makefile b/elks/arch/i86/kernel/Makefile
deleted file mode 100644
index d8eead9..0000000
--- a/elks/arch/i86/kernel/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-# Makefile for the Linux/MT-kernel.
-#
-#########################################################################
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ../../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME = entry.c
-
-DEPEND =
-
-DISTFILES = syscall.dat
-
-NOINDENT = bios16.c irq.c irqtab.c printreg.c process.c strace.h \
- system.c timer.c
-
-#########################################################################
-# Include standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to be compiled.
-
-ifeq ($(CONFIG_ARCH_SIBO), y)
-OBJS = strace.o printreg.o system.o irq.o ../sibo/irqtab.o process.o \
- entry.o signal.o timer.o
-else
-OBJS = strace.o printreg.o system.o irq.o irqtab.o process.o bios16.o \
- entry.o signal.o timer.o
-endif
-
-#########################################################################
-# Commands.
-
-all: akernel.a
-
-akernel.a: $(OBJS)
- ar rcs akernel.a $(OBJS)
-
-entry.c: syscall.dat mkentry.sh
- sh mkentry.sh > entry.tmp
- mv entry.tmp entry.c
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Makefile mkentry.sh $(DISTDIR)/arch/i86/kernel
- cp -pf syscall.dat $(DISTDIR)/arch/i86/kernel
- cp -pf *.c $(DISTDIR)/arch/i86/kernel
-
-#########################################################################
-### Dependencies:
diff --git a/elks/arch/i86/lib/Makefile b/elks/arch/i86/lib/Makefile
deleted file mode 100644
index 1bf8656..0000000
--- a/elks/arch/i86/lib/Makefile
+++ /dev/null
@@ -1,75 +0,0 @@
-# Makefile for bcc library - 8086 assembler routines
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ../../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT = memmove.c
-
-#########################################################################
-# Include the standard rules.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to be compiled.
-
-OBJS = $(IOBJS) $(JOBJS) $(LLOBJS) $(LXOBJS)
-
-# compiler support for integer arithmetic
-
-IOBJS =idiv.o idivu.o imod.o imodu.o imul.o isl.o isr.o isru.o
-
-# miscellaneous
-
-JOBJS =inport.o inportb.o outport.o outportb.o \
- peekb.o peekw.o pokew.o bitops.o \
- memmove.o string.o fmemset.o border.o
-# ntohl.o ntohs.o
-
-# compiler support for long arithmetic on little-endian (normal) longs
-
-LLOBJS =laddl.o landl.o lcmpl.o lcoml.o ldecl.o ldivl.o ldivul.o \
- leorl.o lincl.o lmodl.o lmodul.o lmull.o lnegl.o lorl.o \
- lsll.o lsrl.o lsrul.o lsubl.o ltstl.o setupw.o
-
-# compiler support for long arithmetic on all longs
-
-LXOBJS =ldivmod.o
-
-#########################################################################
-# Commands.
-
-all: lib86.a
-
-lib86.a: $(OBJS)
- ar rcs lib86.a $(OBJS)
- sync
-
-#setupb.s: setupb.S
-
-setupw.s: setupw.S
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Makefile *.c *.S *.s $(DISTDIR)/arch/i86/lib
-
-#########################################################################
-### Dependencies:
diff --git a/elks/arch/i86/mm/Makefile b/elks/arch/i86/mm/Makefile
deleted file mode 100644
index d979f56..0000000
--- a/elks/arch/i86/mm/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# Makefile for the Linux/MT-kernel.
-#
-#########################################################################
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ../../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT = segment.c user.c
-
-#########################################################################
-# Include the standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to be compiled.
-
-OBJS = init.o segment.o malloc.o user.o
-
-#########################################################################
-# Commands.
-
-all: mm.a
-
-mm.a: $(OBJS)
- ar rcs mm.a $(OBJS)
- sync
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Makefile *.c $(DISTDIR)/arch/i86/mm
-
-#########################################################################
-### Dependencies:
diff --git a/elks/arch/i86/sibo/Makefile b/elks/arch/i86/sibo/Makefile
deleted file mode 100644
index c925570..0000000
--- a/elks/arch/i86/sibo/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# Note that the standard Makefile rules and defines have been moved to
-# the file below.
-
-BASEDIR = ../../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT = crt1.c irqtab.c
-
-#########################################################################
-# Include the standard rules.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-### Dependencies:
diff --git a/elks/arch/i86/tools/Makefile b/elks/arch/i86/tools/Makefile
deleted file mode 100644
index 5a98c5c..0000000
--- a/elks/arch/i86/tools/Makefile
+++ /dev/null
@@ -1,77 +0,0 @@
-# Makefile for compiling assembler for Psion 3a - SDW 28/2/99
-#
-###########################################################################
-# Relative path to base directory.
-
-BASEDIR = ../../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME = build imgconv mkbootloader wrt_disk.img
-
-DEPEND =
-
-DISTFILES = mknbi-elks
-
-NOINDENT =
-
-###########################################################################
-# Include the standard rules.
-
-include $(BASEDIR)/Makefile-rules
-
-###########################################################################
-# SIBO paramters.
-
-STACK_SIZE = 64 # paragraphs of 16 bytes
-HEAP_SIZE = 128 # paragraphs of 16 bytes
-
-DATA_SEG = 0x400 # Segment address
-HEAP_SEG = 0x800 # Segment address
-
-###########################################################################
-# Targets. You have to build the psion tree first to get driver stuff.
-
-ifeq ($(CONFIG_ARCH_SIBO), y)
-
-all: wrt_disk.img build mkbootloader imgconv
-
-else
-
-all: build mkbootloader
-
-endif
-
-wrt_disk.o: wrt_disk.c
-
-file.o: file.s
-
-wrt_disk.tmp: wrt_disk.o file.o
- ld86 -0 -i -D $(DATA_SEG) -H $(HEAP_SEG) -o wrt_disk.tmp \
- wrt_disk.o file.o \
- ../drivers/char/con_asm.o \
- ../drivers/char/font.o \
- ../drivers/char/key_asm.o \
- ../drivers/block/ssd_asm.o \
- ../lib/lib86.a
-
-wrt_disk.img: wrt_disk.tmp imgconv
- ./imgconv wrt_disk.tmp wrt_disk.img
-
-build: build.c
- gcc -I $(BASEDIR)/include -o build build.c
-
-mkbootloader: mkbootloader.c
- gcc -I $(BASEDIR)/include -o mkbootloader mkbootloader.c
-
-imgconv: imgconv.c
- gcc -o imgconv imgconv.c
-
-###########################################################################
-### Dependencies:
diff --git a/elks/fs/Makefile b/elks/fs/Makefile
deleted file mode 100644
index bb5b88b..0000000
--- a/elks/fs/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-# Makefile for the Linux/MT-kernel.
-#
-#########################################################################
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT =
-
-#########################################################################
-# Include the standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to be compiled.
-
-OBJS = super.o bufops.o devices.o fcntl.o stat.o inode.o file_table.o \
- buffer.o block_dev.o namei.o ioctl.o filesystems.o open.o \
- read_write.o readdir.o exec.o select.o pipe.o
-
-#########################################################################
-# Commands.
-
-all: fs.a
-
-fs.a: $(OBJS)
- ar rcs fs.a $(OBJS)
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Config.in Makefile *.c $(DISTDIR)/fs
-
-#########################################################################
-### Dependencies:
diff --git a/elks/fs/minix/Makefile b/elks/fs/minix/Makefile
deleted file mode 100644
index 4eb089f..0000000
--- a/elks/fs/minix/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# Makefile for the Linux/MT-kernel.
-#
-#########################################################################
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT =
-
-#########################################################################
-# Include standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to be compiled.
-
-OBJS = bitmap.o dir.o file.o namei.o symlink.o truncate.o inode.o
-
-#########################################################################
-# Commands.
-
-all: minixfs.a
-
-minixfs.a: $(OBJS)
- ar rcs minixfs.a $(OBJS)
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Makefile *.c $(DISTDIR)/fs/minix
-
-#########################################################################
-### Dependencies:
diff --git a/elks/fs/romfs/Makefile b/elks/fs/romfs/Makefile
deleted file mode 100644
index 63e5d70..0000000
--- a/elks/fs/romfs/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# Makefile for the Linux/MT-kernel.
-#
-#########################################################################
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT =
-
-#########################################################################
-# Include standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to be compiled.
-
-OBJS = inode.o
-
-#########################################################################
-# Commands.
-
-all: romfs.a
-
-romfs.a: $(OBJS)
- ar rcs romfs.a $(OBJS)
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Makefile *.c $(DISTDIR)/fs/romfs
-
-#########################################################################
-### Dependencies:
diff --git a/elks/init/Makefile b/elks/init/Makefile
deleted file mode 100644
index 5defd41..0000000
--- a/elks/init/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# Note that the standard Makefile rules and defines have been moved to
-# the file below.
-
-BASEDIR = ..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT = main.c
-
-#########################################################################
-# Include the standard rules.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-### Dependencies:
diff --git a/elks/kernel/Makefile b/elks/kernel/Makefile
deleted file mode 100644
index ed15d86..0000000
--- a/elks/kernel/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# Makefile for the Linux/MT-kernel.
-#
-#########################################################################
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT = memdumpk.c
-
-#########################################################################
-# Include standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to compile.
-
-OBJS = sched.o printk.o sleepwake.o dma.o version.o sys.o fork.o \
- exit.o time.o signal.o
-
-#########################################################################
-# Commands:
-
-all: kernel.a
-
-kernel.a: $(OBJS)
- ar rcs kernel.a $(OBJS)
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Makefile *.c $(DISTDIR)/kernel
-
-#########################################################################
-### Dependencies:
diff --git a/elks/lib/Makefile b/elks/lib/Makefile
deleted file mode 100644
index b404c70..0000000
--- a/elks/lib/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# Makefile for the Linux/MT-kernel.
-#
-#########################################################################
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT =
-
-#########################################################################
-# Include standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to compile.
-
-OBJS = chqueue.o string.o
-
-#########################################################################
-# Commands:
-
-all: lib.a
-
-lib.a: $(OBJS)
- ar rcs lib.a $(OBJS)
- sync
-
-#########################################################################
-# Standard rules.
-
-distdir:
- cp -pf Makefile *.c $(DISTDIR)/lib
-
-#########################################################################
-### Dependencies:
diff --git a/elks/net/Makefile b/elks/net/Makefile
deleted file mode 100644
index a6f8427..0000000
--- a/elks/net/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-# Makefile for the Linux/MT-kernel.
-#
-#########################################################################
-#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT =
-
-#########################################################################
-# Include standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Objects to compile.
-
-OBJS = socket.o protocols.o ipv4/af_inet.o nano/af_nano.o unix/af_unix.o
-
-#########################################################################
-# Rules.
-
-all: net.a
-
-net.a: $(OBJS)
- ar rcs net.a $(OBJS)
-
-#########################################################################
-# Standard commands.
-
-distdir:
- cp -pf Config.in Makefile *.c $(DISTDIR)/net
- mkdir $(DISTDIR)/net/ipv4
- cp -pf ipv4/Makefile ipv4/*.c ipv4/*.h $(DISTDIR)/net/ipv4
- mkdir $(DISTDIR)/net/nano
- cp -pf nano/Makefile nano/*.c nano/*.h $(DISTDIR)/net/nano
- mkdir $(DISTDIR)/net/unix
- cp -pf unix/Makefile unix/*.c unix/*.h $(DISTDIR)/net/unix
-
-#########################################################################
-### Dependencies:
diff --git a/elks/net/ipv4/Makefile b/elks/net/ipv4/Makefile
deleted file mode 100644
index 4ba8663..0000000
--- a/elks/net/ipv4/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# Note that the standard Makefile rules and defines have been moved to
-# the file below.
-
-BASEDIR = ../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT =
-
-#########################################################################
-# Include the standard rules.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-### Dependencies:
diff --git a/elks/net/nano/Makefile b/elks/net/nano/Makefile
deleted file mode 100644
index 4ba8663..0000000
--- a/elks/net/nano/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# Note that the standard Makefile rules and defines have been moved to
-# the file below.
-
-BASEDIR = ../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT =
-
-#########################################################################
-# Include the standard rules.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-### Dependencies:
diff --git a/elks/net/unix/Makefile b/elks/net/unix/Makefile
deleted file mode 100644
index 4ba8663..0000000
--- a/elks/net/unix/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# Note that the standard Makefile rules and defines have been moved to
-# the file below.
-
-BASEDIR = ../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT =
-
-#########################################################################
-# Include the standard rules.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-### Dependencies:
diff --git a/elks/scripts/Makefile b/elks/scripts/Makefile
deleted file mode 100644
index 8f4ed48..0000000
--- a/elks/scripts/Makefile
+++ /dev/null
@@ -1,78 +0,0 @@
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = N
-
-CLEANDEP =
-
-CLEANME = kconfig.tk tkparse
-
-DEPEND =
-
-DISTFILES = Configure Menuconfig elksspec index mkMake renvar \
- setdir vars
-
-NOINDENT =
-
-#########################################################################
-# Include the standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Local commands.
-
-HOSTCFLAGS:=$(HOSTCFLAGS) -Wall
-HEADER=header.tk
-TAIL=tail.tk
-
-# Previous versions always remade kconfig.tk because they always depended
-# on soundscript. This runs fairly fast, and I can't find all the
-# Config.in files to depend on anyways. So I'll force it to remake.
-
-kconfig.tk: dummy
-
-kconfig.tk: ${TOPDIR}/Makefile ${TOPDIR}/arch/${ARCH}/config.in \
- tkparse ${HEADER} ${TAIL}
- @if [ -f /usr/local/bin/wish ]; then \
- echo '#!'"/usr/local/bin/wish -f" > kconfig.tk; \
- else \
- echo '#!'"/usr/bin/wish -f" > kconfig.tk; \
- fi
- cat ${HEADER} >> kconfig.tk
- ./tkparse < ../arch/${ARCH}/config.in >> kconfig.tk
- echo "set defaults \"arch/${ARCH}/defconfig\"" >> kconfig.tk
- cat ${TAIL} >> kconfig.tk
- chmod 755 kconfig.tk
-
-tkparse: tkparse.o tkcond.o tkgen.o
- ${HOSTCC} -o tkparse tkparse.o tkcond.o tkgen.o
-
-tkparse.o: tkparse.c tkparse.h
-
-tkcond.o: tkcond.c tkparse.h
-
-tkgen.o: tkgen.c tkparse.h
-
-tkparse.o tkcond.o tkgen.o:
- $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $(@:.o=.c)
-
-#########################################################################
-
-distdir:
- cp -pf Makefile Configure Menuconfig $(DISTDIR)/scripts
- cp -pf README.Menuconfig $(DISTDIR)/scripts
- cp -pf *.c *.h *.tk *.sh *.cc $(DISTDIR)/scripts
- mkdir $(DISTDIR)/scripts/lxdialog
- cp -pf lxdialog/Makefile $(DISTDIR)/scripts/lxdialog
- cp -pf lxdialog/BIG.FAT.WARNING $(DISTDIR)/scripts/lxdialog
- cp -pf lxdialog/*.c lxdialog/*.h $(DISTDIR)/scripts/lxdialog
-
-#########################################################################
-### Dependencies:
diff --git a/elks/scripts/lxdialog/Makefile b/elks/scripts/lxdialog/Makefile
deleted file mode 100644
index 599c2e7..0000000
--- a/elks/scripts/lxdialog/Makefile
+++ /dev/null
@@ -1,100 +0,0 @@
-#########################################################################
-# Relative path to base directory.
-
-BASEDIR = ../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = N
-
-CLEANDEP =
-
-CLEANME = local-curses.h lxdialog
-
-DEPEND = local-curses.h
-
-DISTFILES = BIG.FAT.WARNING
-
-NOINDENT =
-
-#########################################################################
-# Include the standard commands.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-# Where are the curses libraries?
-
-ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h))
- CURSES_INC = -I/usr/include/ncurses
- CURSES_LOC = "<ncurses.h>"
-else
-ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h))
- CURSES_INC = -I/usr/include/ncurses
- CURSES_LOC = "<ncurses/curses.h>"
-else
-ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h))
- CURSES_INC =
- CURSES_LOC = "<ncurses.h>"
-else
- CURSES_INC =
- CURSES_LOC = "<curses.h>"
-endif
-endif
-endif
-
-#########################################################################
-# Local commands.
-
-CC = gcc
-CPP = gcc -E
-OPTIM = -std=c99 -O2 -Wall -pedantic
-
-CFLAGS = $(OPTIM) -DLOCALE $(CURSES_INC)
-LDFLAGS = -s -L .
-LDLIBS = -lncurses
-
-#########################################################################
-# What do we compile?
-
-OBJS = checklist.o menubox.o textbox.o yesno.o inputbox.o \
- util.o lxdialog.o msgbox.o
-SRCS = $(OBJS:.o=.c)
-
-#########################################################################
-# Available commands.
-
-all: ncurses lxdialog
-
-lxdialog: $(OBJS)
-
-#########################################################################
-# Write a custom header for curses.
-
-local-curses.h:
- printf > local-curses.h '%s\n' \
- '/* Include curses as available on this system.' \
- ' * Automatically created during compilation.' \
- ' * DO NOT CHANGE.' \
- ' */' ''
- printf '#include %s\n\n' $(CURSES_LOC) >> local-curses.h
-
-#########################################################################
-# Check that ncurses is available.
-
-ncurses: local-curses.h
- @x=`find /lib/ /usr/lib/ /usr/local/lib/ -maxdepth 2 -name 'libncurses.*'` ;\
- if [ ! "$$x" ]; then \
- echo -e "\007" ;\
- echo ">> Unable to find the Ncurses libraries." ;\
- echo ">>" ;\
- echo ">> You must have Ncurses installed in order" ;\
- echo ">> to use 'make menuconfig'" ;\
- echo ;\
- exit 1 ;\
- fi
-
-#########################################################################
-### Dependencies:
diff --git a/elks/video/ansi/Makefile b/elks/video/ansi/Makefile
deleted file mode 100644
index 4ba8663..0000000
--- a/elks/video/ansi/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# Note that the standard Makefile rules and defines have been moved to
-# the file below.
-
-BASEDIR = ../..
-
-#########################################################################
-# Define the variables required by the standard rules - see the standard
-# rules file (below) for details of these variables.
-
-USEBCC = Y
-
-CLEANDEP =
-
-CLEANME =
-
-DEPEND =
-
-DISTFILES =
-
-NOINDENT =
-
-#########################################################################
-# Include the standard rules.
-
-include $(BASEDIR)/Makefile-rules
-
-#########################################################################
-### Dependencies:
--
2.0.5