chore: modules?
This commit is contained in:
parent
ea2f09a44d
commit
face6d7999
6
Makefile
6
Makefile
|
@ -26,10 +26,10 @@ LDFLAGS =
|
|||
|
||||
QEMU_COMMON = \
|
||||
-rtc base=localtime \
|
||||
-vga virtio \
|
||||
-serial mon:stdio
|
||||
-vga cirrus \
|
||||
-serial mon:stdio
|
||||
|
||||
SUBDIRS := external tools include boot kernel lib bin
|
||||
SUBDIRS := external tools include boot kernel modules lib bin
|
||||
|
||||
TARGET = stupid.tar.gz floppy1440.img floppy2880.img
|
||||
ifneq ($(OS),Windows_NT)
|
||||
|
|
11
modules/Makefile
Normal file
11
modules/Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
TOPGOALS = all clean install
|
||||
|
||||
SUBDIRS = dummy
|
||||
|
||||
.PHONY: $(SUBDIRS)
|
||||
$(SUBDIRS):
|
||||
@echo "📁 boot/$@"
|
||||
@DESTDIR=$(DESTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
||||
|
||||
.PHONY: $(TOPGOALS)
|
||||
$(TOPGOALS): $(SUBDIRS)
|
6
modules/dummy/Makefile
Normal file
6
modules/dummy/Makefile
Normal file
|
@ -0,0 +1,6 @@
|
|||
all:
|
||||
fasm dummy.asm
|
||||
|
||||
clean:
|
||||
|
||||
install: all
|
3
modules/dummy/dummy.asm
Normal file
3
modules/dummy/dummy.asm
Normal file
|
@ -0,0 +1,3 @@
|
|||
format COFF
|
||||
|
||||
|
Loading…
Reference in a new issue