Rev 558 | Rev 575 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 558 | Rev 561 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | DEFS = -DARCH=$(ARCH) -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" |
47 | DEFS = -DARCH=$(ARCH) -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" |
48 | CFLAGS = -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/ |
48 | CFLAGS = -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/ |
49 | LFLAGS = -M |
49 | LFLAGS = -M |
50 | AFLAGS = |
50 | AFLAGS = |
51 | 51 | ||
- | 52 | ifdef REVISION |
|
- | 53 | DEFS += "-DREVISION=\"$(REVISION)\"" |
|
- | 54 | endif |
|
- | 55 | ||
52 | ifdef TAG |
56 | ifdef TIMESTAMP |
53 | DEFS += "-DTAG=\"$(TAG)\"" |
57 | DEFS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" |
54 | endif |
58 | endif |
55 | 59 | ||
56 | ## Setup kernel configuration |
60 | ## Setup kernel configuration |
57 | # |
61 | # |
58 | 62 | ||
Line 136... | Line 140... | ||
136 | 140 | ||
137 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
141 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
138 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
142 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
139 | GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) |
143 | GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) |
140 | 144 | ||
141 | .PHONY: all clean config links depend boot |
145 | .PHONY: all build clean config links depend boot |
142 | 146 | ||
143 | all: |
147 | all: |
144 | tools/config.py default |
148 | tools/config.py default |
145 | $(MAKE) -C . real_all |
149 | $(MAKE) -C . build |
146 | 150 | ||
147 | real_all: kernel.bin boot disasm |
151 | build: kernel.bin boot disasm |
148 | 152 | ||
149 | config: |
153 | config: |
150 | tools/config.py |
154 | tools/config.py |
151 | 155 | ||
152 | -include Makefile.depend |
156 | -include Makefile.depend |