misc: Remove limine.h and retrieve LIMINE_VERSION value from current git branch instead

This commit is contained in:
mintsuki 2020-12-30 23:42:39 +01:00
parent 7f1dd08892
commit 366d75e740
7 changed files with 2 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@ -3,6 +3,7 @@ LD = i386-elf-gcc
OBJCOPY = i386-elf-objcopy
OBJDUMP = i386-elf-objdump
LIMINE_VERSION := $(shell git branch --show-current | sed 's/-branch//')
WERROR = -Werror
CFLAGS = -Os -pipe -Wall -Wextra $(WERROR)
@ -21,6 +22,7 @@ INTERNAL_CFLAGS = \
-mno-sse \
-mno-sse2 \
-MMD \
-DLIMINE_VERSION='"$(LIMINE_VERSION)"' \
-I. \
-I..

View File

@ -1,6 +0,0 @@
#ifndef __LIMINE_H__
#define __LIMINE_H__
#define LIMINE_VERSION "0.7"
#endif

View File

@ -1,4 +1,3 @@
#include <limine.h>
#include <lib/term.h>
#include <lib/real.h>
#include <lib/blib.h>

View File

@ -1,7 +1,6 @@
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <limine.h>
#include <menu.h>
#include <lib/print.h>
#include <lib/blib.h>

View File

@ -1,7 +1,6 @@
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <limine.h>
#include <protos/stivale.h>
#include <protos/stivale2.h>
#include <lib/elf.h>