mirror of
https://github.com/tailix/kernel.git
synced 2024-11-20 11:16:10 -05:00
Remove configurator
This commit is contained in:
parent
d3e25bf3a3
commit
867391da4b
4 changed files with 2 additions and 41 deletions
3
Makefile
3
Makefile
|
@ -1,4 +1,5 @@
|
||||||
include config.mk
|
export ARCH = x86
|
||||||
|
export CCPREFIX = i686-elf-
|
||||||
|
|
||||||
export AR = $(CCPREFIX)ar
|
export AR = $(CCPREFIX)ar
|
||||||
export AS = $(CCPREFIX)as
|
export AS = $(CCPREFIX)as
|
||||||
|
|
22
README.md
22
README.md
|
@ -12,25 +12,3 @@ Glossary
|
||||||
* (`unsigned long`) `size` - size in bytes
|
* (`unsigned long`) `size` - size in bytes
|
||||||
* (`unsigned int`) `length` - number of entries
|
* (`unsigned int`) `length` - number of entries
|
||||||
* (`unsigned int`) `slen` - string length excluding the terminating null byte
|
* (`unsigned int`) `slen` - string length excluding the terminating null byte
|
||||||
|
|
||||||
Dependencies
|
|
||||||
------------
|
|
||||||
|
|
||||||
### Build youself:
|
|
||||||
|
|
||||||
* Cross-compiler for i686-elf
|
|
||||||
|
|
||||||
### Debian 9.2 packages:
|
|
||||||
|
|
||||||
* make
|
|
||||||
* grub-pc-bin
|
|
||||||
* qemu-system-x86
|
|
||||||
|
|
||||||
Build and run
|
|
||||||
-------------
|
|
||||||
|
|
||||||
```sh
|
|
||||||
./configure
|
|
||||||
make clean
|
|
||||||
make run
|
|
||||||
```
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
export ARCH = x86
|
|
||||||
export CCPREFIX = i686-elf-
|
|
16
configure
vendored
16
configure
vendored
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh -e
|
|
||||||
|
|
||||||
ENV="$1"
|
|
||||||
|
|
||||||
if [ -z "$ENV" ]; then
|
|
||||||
ENV='x86'
|
|
||||||
fi
|
|
||||||
|
|
||||||
CONFIG="arch/$ENV/config.mk"
|
|
||||||
|
|
||||||
if [ ! -f "$CONFIG" ]; then
|
|
||||||
echo >&2 "ERROR: file "$CONFIG" does not exist"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp "$CONFIG" 'config.mk'
|
|
Loading…
Reference in a new issue