From fc13fb2ba5993d06d9d6ae5e80bc337aebbdc119 Mon Sep 17 00:00:00 2001 From: aqua Date: Sun, 8 Oct 2023 19:50:00 +0300 Subject: Use meson build system --- root.mk | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 root.mk (limited to 'root.mk') diff --git a/root.mk b/root.mk deleted file mode 100644 index 87ac276..0000000 --- a/root.mk +++ /dev/null @@ -1,43 +0,0 @@ -# glitch root makefile -# usage: make -C -f - -# location of root makefile -ROOTDIR := $(dir $(abspath $(lastword ${MAKEFILE_LIST}))) -# include config and toolchain -include $(join ${ROOTDIR},config.mk) - -help: - @echo "info: show current configuration" - @echo "all: build kernel image" - @echo "run: run kernel image in qemu" - @echo "test: run all tests" - @echo "valgrind: run all tests in valgrind" - -info: - @echo "- target:" - @echo " ARCH: ${ARCH}" - @echo " CC: ${${ARCH}_CC}" - @echo " CCID: ${${ARCH}_CCID}" - @echo " CFLAGS: ${${ARCH}_CFLAGS}" - @echo " LD: ${${ARCH}_LD}" - @echo " LDID: ${${ARCH}_LDID}" - @echo " LDFLAGS: ${${ARCH}_LDFLAGS}" - @echo "- host:" - @echo " CC: ${HOST_CC}" - @echo " CFLAGS: ${HOST_CFLAGS}" - @echo " CXX: ${HOST_CXX}" - @echo " CXXFLAGS: ${HOST_CXXFLAGS}" - @echo " QEMU: ${QEMU}" - -# for auto-completion purposes -list-targets: - -# include build from current dir -include mk - -SUBDIR := $(dir $(abspath $(lastword ${MAKEFILE_LIST}))) -COMPONENT := $(lastword $(subst /, ,${SUBDIR})) - -# generate build rules -include $(join ${ROOTDIR},rules.mk) - -- cgit v1.2.1