Rev 4327 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4327 | Rev 4581 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | LIBC_PREFIX = ../../lib/libc |
32 | LIBC_PREFIX = ../../lib/libc |
33 | SOFTINT_PREFIX = ../../lib/softint |
33 | SOFTINT_PREFIX = ../../lib/softint |
34 | 34 | ||
35 | include $(LIBC_PREFIX)/Makefile.toolchain |
35 | include $(LIBC_PREFIX)/Makefile.toolchain |
36 | 36 | ||
37 | CFLAGS += -Iinclude -I../libadt/include |
37 | CFLAGS += -Iinclude |
38 | 38 | ||
39 | LIBS = $(LIBC_PREFIX)/libc.a |
39 | LIBS = $(LIBC_PREFIX)/libc.a |
40 | 40 | ||
41 | ## Sources |
41 | ## Sources |
42 | # |
42 | # |
Line 44... | Line 44... | ||
44 | OUTPUT = kbd |
44 | OUTPUT = kbd |
45 | GENERIC_SOURCES = \ |
45 | GENERIC_SOURCES = \ |
46 | generic/kbd.c \ |
46 | generic/kbd.c \ |
47 | genarch/gsp.c \ |
47 | genarch/gsp.c \ |
48 | genarch/stroke.c \ |
48 | genarch/stroke.c \ |
49 | generic/key_buffer.c |
49 | generic/keybuffer.c |
50 | 50 | ||
51 | ARCH_SOURCES = |
51 | ARCH_SOURCES = |
52 | GENARCH_SOURCES = \ |
52 | GENARCH_SOURCES = \ |
53 | layout/cz.c \ |
53 | layout/cz.c \ |
54 | layout/us_qwerty.c \ |
54 | layout/us_qwerty.c \ |
Line 110... | Line 110... | ||
110 | endif |
110 | endif |
111 | endif |
111 | endif |
112 | 112 | ||
113 | ifeq ($(MACHINE), bgxemul) |
113 | ifeq ($(MACHINE), bgxemul) |
114 | GENARCH_SOURCES += \ |
114 | GENARCH_SOURCES += \ |
115 | port/gxemul.c \ |
115 | port/gxemul.c |
- | 116 | ||
- | 117 | ifeq ($(CONFIG_FB), y) |
|
- | 118 | GENARCH_SOURCES += \ |
|
- | 119 | ctl/gxe_fb.c |
|
- | 120 | else |
|
- | 121 | GENARCH_SOURCES += \ |
|
116 | ctl/stty.c |
122 | ctl/stty.c |
- | 123 | endif |
|
117 | endif |
124 | endif |
118 | 125 | ||
119 | ifeq ($(UARCH), ppc32) |
126 | ifeq ($(UARCH), ppc32) |
120 | GENARCH_SOURCES += \ |
127 | GENARCH_SOURCES += \ |
121 | port/dummy.c \ |
128 | port/dummy.c \ |
Line 158... | Line 165... | ||
158 | $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map |
165 | $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map |
159 | 166 | ||
160 | disasm: $(OUTPUT).disasm |
167 | disasm: $(OUTPUT).disasm |
161 | 168 | ||
162 | $(OUTPUT).disasm: $(OUTPUT) |
169 | $(OUTPUT).disasm: $(OUTPUT) |
163 | $(OBJDUMP) -d $< >$@ |
170 | $(OBJDUMP) -d $< > $@ |
164 | 171 | ||
165 | %.o: %.S |
172 | %.o: %.S |
166 | $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
173 | $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
167 | 174 | ||
168 | %.o: %.s |
175 | %.o: %.s |