diff options
author | aqua <aqua@iserlohn-fortress.net> | 2024-03-08 17:24:49 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2024-03-08 22:00:07 +0200 |
commit | 20b97ea7c0dbbdc13800e12ff5c86c00c4a342ec (patch) | |
tree | 473281e5fc8b256827ce1a678573444e1aa5f669 /config.mk | |
parent | Generate src/conf.h (diff) | |
download | kernel-20b97ea7c0dbbdc13800e12ff5c86c00c4a342ec.tar.xz |
Bazel build
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/config.mk b/config.mk deleted file mode 100644 index 36fc32f..0000000 --- a/config.mk +++ /dev/null @@ -1,61 +0,0 @@ -# -# Automatically generated file; DO NOT EDIT. -# Main menu -# - -# -# Toolchain -# -CONFIG_ARCH_i686=y -# CONFIG_ARCH_mips is not set -CONFIG_TOOLCHAIN_i686_gcc=y -CONFIG_CFLAGS="-g -Og" -CONFIG_CXXFLAGS="-g -Og" -CONFIG_LDFLAGS="" -# end of Toolchain - -# -# Devices -# -CONFIG_PIC_8259=y -CONFIG_UART_16550=y -CONFIG_VGA_TEXT_MODE=y -CONFIG_KB_PS2=y -# end of Devices - -## toolchain.mk -ARCH=i686 - -# define compiler, linker, archiver and strip and their flags -${ARCH}_AS := i686-elf-as - -${ARCH}_CC := i686-elf-gcc -ansi -${ARCH}_CCID := $(shell ${${ARCH}_CC} --version | head -n1) -${ARCH}_CFLAGS := -Wall -Wextra -Wpedantic -Werror=shadow -Wconversion -fanalyzer \ - -D__ARCH__="${ARCH}" -ffreestanding -mgeneral-regs-only \ - $(shell echo ${CONFIG_CFLAGS}) - -${ARCH}_LD := i686-elf-ld -${ARCH}_LDID := $(shell ${${ARCH}_LD} --version | head -n1) -${ARCH}_LDFLAGS := -static -nostdlib \ - $(shell echo ${CONFIG_LDFLAGS}) - -${ARCH}_AR := i686-elf-ar -${ARCH}_ARFLAGS := -crus - -${ARCH}_STRIP := i686-elf-strip - -# define compiler and flags for test targets -HOST_CC := gcc -HOST_CFLAGS := -Wall -Wextra -Wpedantic -Werror=shadow -Wconversion \ - ${CFLAGS} -HOST_CXX := g++ -HOST_CXXFLAGS := -Wall -Wextra -Wpedantic -Werror=shadow -Wconversion -g -Og \ - $(shell pkg-config --cflags gtest gtest_main gmock) \ - ${CXXFLAGS} - -HOST_LDFLAGS := $(shell pkg-config --libs gtest gtest_main gmock) - -# emulator name and flags -QEMU := qemu-system-i386 -accel kvm -machine pc - |