Rev 4354 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4354 | Rev 4373 | ||
---|---|---|---|
Line 104... | Line 104... | ||
104 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
104 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
105 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
105 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
106 | OBJECTS := $(GENERIC_OBJECTS) $(ARCH_OBJECTS) |
106 | OBJECTS := $(GENERIC_OBJECTS) $(ARCH_OBJECTS) |
107 | PIC_OBJECTS := $(addsuffix .pio,$(basename $(OBJECTS))) |
107 | PIC_OBJECTS := $(addsuffix .pio,$(basename $(OBJECTS))) |
108 | 108 | ||
- | 109 | OUTPUT := libc.a |
|
- | 110 | ||
- | 111 | ifeq ($(CONFIG_BUILD_SHARED_LIBC), y) |
|
- | 112 | OUTPUT += libc.pic.a |
|
- | 113 | endif |
|
- | 114 | ||
109 | .PHONY: all clean depend kerninc |
115 | .PHONY: all clean depend kerninc |
110 | 116 | ||
111 | all: kerninc libc.a libc.pic.a arch/$(UARCH)/_link.ld |
117 | all: kerninc $(OUTPUT) arch/$(UARCH)/_link.ld |
112 | 118 | ||
113 | kerninc: |
119 | kerninc: |
114 | ln -sfn ../../../../kernel/generic/include include/kernel |
120 | ln -sfn ../../../../kernel/generic/include include/kernel |
115 | ln -sfn kernel/arch include/arch |
121 | ln -sfn kernel/arch include/arch |
116 | ln -sfn ../arch/$(UARCH)/include include/libarch |
122 | ln -sfn ../arch/$(UARCH)/include include/libarch |