Rev 458 | Rev 460 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 458 | Rev 459 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | DEFS += -DNDEBUG |
62 | DEFS += -DNDEBUG |
63 | endif |
63 | endif |
64 | ifeq ($(CONFIG_DEBUG_SPINLOCK),y) |
64 | ifeq ($(CONFIG_DEBUG_SPINLOCK),y) |
65 | DEFS += -DCONFIG_DEBUG_SPINLOCK |
65 | DEFS += -DCONFIG_DEBUG_SPINLOCK |
66 | endif |
66 | endif |
- | 67 | ifeq ($(CONFIG_USERSPACE),y) |
|
- | 68 | DEFS += -DCONFIG_USERSPACE |
|
- | 69 | endif |
|
67 | 70 | ||
68 | ## Toolchain configuration |
71 | ## Toolchain configuration |
69 | # |
72 | # |
70 | 73 | ||
71 | ifeq ($(COMPILER),native) |
74 | ifeq ($(COMPILER),native) |
Line 117... | Line 120... | ||
117 | generic/src/synch/semaphore.c \ |
120 | generic/src/synch/semaphore.c \ |
118 | generic/src/synch/waitq.c \ |
121 | generic/src/synch/waitq.c \ |
119 | generic/src/smp/ipi.c \ |
122 | generic/src/smp/ipi.c \ |
120 | generic/src/fb/font-8x16.c |
123 | generic/src/fb/font-8x16.c |
121 | 124 | ||
- | 125 | ## Test sources |
|
- | 126 | # |
|
- | 127 | ||
- | 128 | ifneq ($(CONFIG_TEST),) |
|
- | 129 | DEFS += -DCONFIG_TEST |
|
- | 130 | GENERIC_SOURCES += test/$(CONFIG_TEST)/test.c |
|
- | 131 | endif |
|
- | 132 | ||
122 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
133 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
123 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
134 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
124 | GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) |
135 | GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) |
125 | 136 | ||
126 | .PHONY: all clean config depend boot |
137 | .PHONY: all clean config depend boot |