mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-24 19:34:01 +00:00
CLKS拆分:第一步
This commit is contained in:
47
clks/Makefile
Normal file
47
clks/Makefile
Normal file
@@ -0,0 +1,47 @@
|
||||
.RECIPEPREFIX := >
|
||||
MAKEFLAGS += --no-print-directory
|
||||
|
||||
ROOT_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))/..)
|
||||
|
||||
.PHONY: all configure reconfigure kernel menuconfig menuconfig-gui setup setup-tools setup-limine clean clean-all help
|
||||
|
||||
all: kernel
|
||||
|
||||
configure:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF configure
|
||||
|
||||
reconfigure:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF reconfigure
|
||||
|
||||
kernel:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF kernel
|
||||
|
||||
menuconfig:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF menuconfig-clks
|
||||
|
||||
menuconfig-gui:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF menuconfig-gui-clks
|
||||
|
||||
setup:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF setup
|
||||
|
||||
setup-tools:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF setup-tools
|
||||
|
||||
setup-limine:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF setup-limine
|
||||
|
||||
clean:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF clean
|
||||
|
||||
clean-all:
|
||||
> @$(MAKE) -C "$(ROOT_DIR)" CLEONOS_ENABLE=OFF clean-all
|
||||
|
||||
help:
|
||||
> @echo "CLKS standalone wrapper"
|
||||
> @echo " make -C clks kernel"
|
||||
> @echo " make -C clks menuconfig"
|
||||
> @echo " make -C clks menuconfig-gui"
|
||||
> @echo " make -C clks configure"
|
||||
> @echo " make -C clks clean"
|
||||
> @echo " make -C clks clean-all"
|
||||
6
clks/include/clks/version.h
Normal file
6
clks/include/clks/version.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef CLKS_VERSION_H
|
||||
#define CLKS_VERSION_H
|
||||
|
||||
#define CLKS_VERSION_STRING "1.0.0-alpha"
|
||||
|
||||
#endif
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <clks/tty.h>
|
||||
#include <clks/types.h>
|
||||
#include <clks/userland.h>
|
||||
#include <cleonos_version.h>
|
||||
#include <clks/version.h>
|
||||
|
||||
/* Yes, this file is a syscall kitchen sink and nobody is pretending otherwise. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user