blob: e1fb5292bc108844dbc0564f83666fcbe6adfd92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
include ../${ARCH}/toolchain.mk
CCFLAGS += -I. -isystem../grub/include -I../${ARCH} -I../lib -I..
conf.h: conf.h.in
@cp conf.h.in conf.h
@sed -i 's/@VERSION@/$(shell git describe)/' conf.h
@sed -i 's/@CC@/$(shell ${CC} --version | head -n1)/' conf.h
kernel,SRCS := multiboot2.c mmap.c kernel.c mem/vmm.c
kernel,OBJS := conf.h
include ../rules.mk
|