misc: Remove limine.h and retrieve LIMINE_VERSION value from current git branch instead
This commit is contained in:
parent
7f1dd08892
commit
366d75e740
BIN
limine-pxe.bin
BIN
limine-pxe.bin
Binary file not shown.
BIN
limine.bin
BIN
limine.bin
Binary file not shown.
@ -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..
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
#ifndef __LIMINE_H__
|
||||
#define __LIMINE_H__
|
||||
|
||||
#define LIMINE_VERSION "0.7"
|
||||
|
||||
#endif
|
@ -1,4 +1,3 @@
|
||||
#include <limine.h>
|
||||
#include <lib/term.h>
|
||||
#include <lib/real.h>
|
||||
#include <lib/blib.h>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user