Compare commits
2 Commits
60baa3ec46
...
1685f2d0b9
Author | SHA1 | Date | |
---|---|---|---|
1685f2d0b9 | |||
4e1fd187bc |
4
Makefile
4
Makefile
@ -12,8 +12,8 @@ LD := $(CC)
|
|||||||
LDFLAGS := -T boot/linker.ld -ffreestanding -O2 -nostdlib
|
LDFLAGS := -T boot/linker.ld -ffreestanding -O2 -nostdlib
|
||||||
LIBS := ./libbozo/build/libbozo.a -lgcc
|
LIBS := ./libbozo/build/libbozo.a -lgcc
|
||||||
|
|
||||||
SSRC := $(wildcard $(SOURCEDIR)/*.s)
|
SSRC := $(shell find $(SOURCEDIR) -name '*.s')
|
||||||
CSRC := $(wildcard $(SOURCEDIR)/*.c)
|
CSRC := $(shell find $(SOURCEDIR) -name '*.c')
|
||||||
OBJ := $(patsubst $(SOURCEDIR)/%.c,$(OBJECTDIR)/%.o,$(CSRC))\
|
OBJ := $(patsubst $(SOURCEDIR)/%.c,$(OBJECTDIR)/%.o,$(CSRC))\
|
||||||
$(patsubst $(SOURCEDIR)/%.s,$(OBJECTDIR)/%.o,$(SSRC))
|
$(patsubst $(SOURCEDIR)/%.s,$(OBJECTDIR)/%.o,$(SSRC))
|
||||||
|
|
||||||
|
2
libbozo
2
libbozo
@ -1 +1 @@
|
|||||||
Subproject commit 4fd5ae3a6528cbeff4730af4128b4872ef6f66ea
|
Subproject commit 69caa70c38aac2894265887d61223e35aeed5f27
|
@ -23,4 +23,6 @@ void kernel_main(void)
|
|||||||
|
|
||||||
/* Newline support is left as an exercise. */
|
/* Newline support is left as an exercise. */
|
||||||
kprintf(0, "test %d a %d b %d\n", 10, 2, 3);
|
kprintf(0, "test %d a %d b %d\n", 10, 2, 3);
|
||||||
|
while (true)
|
||||||
|
terminal_getkey();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user