mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Some fine tuning after the recent general modularization.
This commit is contained in:
parent
a94e7e63e2
commit
4db675e259
@ -48,13 +48,13 @@ CONTIKI_CPU_SOURCEFILES += log.c error.c unload.c config.c ctk-mouse.c \
|
|||||||
CONTIKI_SOURCEFILES += $(CTK) ctk-conio.c petsciiconv.c cfs-posix-dir.c \
|
CONTIKI_SOURCEFILES += $(CTK) ctk-conio.c petsciiconv.c cfs-posix-dir.c \
|
||||||
$(CONTIKI_TARGET_SOURCEFILES) $(CONTIKI_CPU_SOURCEFILES)
|
$(CONTIKI_TARGET_SOURCEFILES) $(CONTIKI_CPU_SOURCEFILES)
|
||||||
|
|
||||||
|
MODULES += core/ctk core/net/ip core/net/ipv4 core/net/ipv6
|
||||||
|
|
||||||
ifdef ETHERNET
|
ifdef ETHERNET
|
||||||
CONTIKI_SOURCEFILES += $(ETHERNET)-eth.S
|
CONTIKI_SOURCEFILES += $(ETHERNET)-eth.S
|
||||||
CFLAGS += -DETHERNET=$(ETHERNET)
|
CFLAGS += -DETHERNET=$(ETHERNET)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### Compiler definitions
|
|
||||||
|
|
||||||
AS = ca65
|
AS = ca65
|
||||||
CC = cl65
|
CC = cl65
|
||||||
LD = ld65
|
LD = ld65
|
||||||
@ -64,9 +64,6 @@ AR = ar65
|
|||||||
# The apps coming with Contiki run even on a 0x100 byte stack.
|
# The apps coming with Contiki run even on a 0x100 byte stack.
|
||||||
|
|
||||||
ASFLAGS = -t $(TARGET)
|
ASFLAGS = -t $(TARGET)
|
||||||
CFLAGS += -t $(TARGET) -Or -W -unused-param,-unused-var,-const-comparison
|
CFLAGS += -t $(TARGET) -Or -W -unused-param
|
||||||
LDFLAGS = $(STARTADDR_FLAG) -t $(TARGET) -m contiki-$(TARGET).map -D __STACKSIZE__=0x200
|
LDFLAGS = $(STARTADDR_FLAG) -t $(TARGET) -m contiki-$(TARGET).map -D __STACKSIZE__=0x200
|
||||||
AROPTS = a
|
AROPTS = a
|
||||||
|
|
||||||
## Default modules
|
|
||||||
MODULES += core/net/ipv4 core/ctk core/net core/net/ip
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
### Compilation rules
|
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
||||||
CUSTOM_RULE_C_TO_OBJECTDIR_O = 1
|
CUSTOM_RULE_C_TO_OBJECTDIR_O = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user