Rev 2787 | Rev 3425 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2787 | Rev 3424 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | arch/$(ARCH)/src/scanc.c |
70 | arch/$(ARCH)/src/scanc.c |
71 | GENARCH_SOURCES = \ |
71 | GENARCH_SOURCES = \ |
72 | genarch/src/kbd.c |
72 | genarch/src/kbd.c |
73 | endif |
73 | endif |
74 | ifeq ($(ARCH), arm32) |
74 | ifeq ($(ARCH), arm32) |
75 | ifeq ($(MACHINE), gxemul_testarm) |
- | |
76 | ARCH_SOURCES += \ |
75 | ARCH_SOURCES += \ |
77 | arch/$(ARCH)/src/kbd_gxemul.c |
76 | arch/$(ARCH)/src/kbd_gxemul.c |
78 | endif |
77 | endif |
79 | endif |
- | |
80 | 78 | ||
81 | 79 | ||
82 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
80 | GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
83 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
81 | ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |
84 | GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) |
82 | GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) |
Line 98... | Line 96... | ||
98 | 96 | ||
99 | depend: |
97 | depend: |
100 | $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend |
98 | $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend |
101 | 99 | ||
102 | $(OUTPUT): $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(GENARCH_OBJECTS) $(LIBS) |
100 | $(OUTPUT): $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(GENARCH_OBJECTS) $(LIBS) |
103 | $(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld -e __entry_driver $(GENERIC_OBJECTS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map |
101 | $(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld $(GENERIC_OBJECTS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map |
104 | 102 | ||
105 | disasm: |
103 | disasm: |
106 | $(OBJDUMP) -d $(OUTPUT) >$(OUTPUT).disasm |
104 | $(OBJDUMP) -d $(OUTPUT) >$(OUTPUT).disasm |
107 | 105 | ||
108 | %.o: %.S |
106 | %.o: %.S |