Przeglądaj źródła

Add MKCONFIG utility, and add "-I ." to CFLAGS so that we can work

with generated headers.
tags/v0.9.3
Michael Brown 19 lat temu
rodzic
commit
b5ee3763c6
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2
    1
      src/Makefile

+ 2
- 1
src/Makefile Wyświetl plik

@@ -73,6 +73,7 @@ RANLIB		?= $(CROSS_COMPILE)ranlib
73 73
 OBJCOPY		?= $(CROSS_COMPILE)objcopy
74 74
 PARSEROM	?= $(PERL) ./util/parserom.pl
75 75
 MAKEROM		?= $(PERL) ./util/makerom.pl
76
+MKCONFIG	?= $(PERL) ./util/mkconfig.pl
76 77
 NRV2B		?= ./util/nrv2b
77 78
 
78 79
 # Location to place generated files
@@ -84,7 +85,7 @@ BLIB	= $(BIN)/blib.a
84 85
 
85 86
 # Common flags
86 87
 #
87
-CFLAGS		+= -I include -I arch/$(ARCH)/include -DARCH=$(ARCH)
88
+CFLAGS		+= -I include -I arch/$(ARCH)/include -I . -DARCH=$(ARCH)
88 89
 CFLAGS		+= -Os -ffreestanding
89 90
 CFLAGS		+= -Wall -W -Wno-format
90 91
 CFLAGS		+= $(EXTRA_CFLAGS)

Ładowanie…
Anuluj
Zapisz