From 867391da4b8edfcd6edbf993b41f9b0112b533cf Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Thu, 9 Nov 2017 15:37:11 +0000 Subject: [PATCH] Remove configurator --- Makefile | 3 ++- README.md | 22 ---------------------- arch/x86/config.mk | 2 -- configure | 16 ---------------- 4 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 arch/x86/config.mk delete mode 100755 configure diff --git a/Makefile b/Makefile index f28eb74..4a8dae9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -include config.mk +export ARCH = x86 +export CCPREFIX = i686-elf- export AR = $(CCPREFIX)ar export AS = $(CCPREFIX)as diff --git a/README.md b/README.md index b1d6bc8..82bc2ac 100644 --- a/README.md +++ b/README.md @@ -12,25 +12,3 @@ Glossary * (`unsigned long`) `size` - size in bytes * (`unsigned int`) `length` - number of entries * (`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 -``` diff --git a/arch/x86/config.mk b/arch/x86/config.mk deleted file mode 100644 index 59dc558..0000000 --- a/arch/x86/config.mk +++ /dev/null @@ -1,2 +0,0 @@ -export ARCH = x86 -export CCPREFIX = i686-elf- diff --git a/configure b/configure deleted file mode 100755 index 26c4a32..0000000 --- a/configure +++ /dev/null @@ -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'