Browse Source

removed redundant include pathes from Makefiles

dev/timer
Oleg Hahm 9 years ago
parent
commit
c7d985d371
  1. 3
      Makefile
  2. 3
      Makefile.base
  3. 2
      boards/avsextrem/Makefile
  4. 2
      boards/chronos/Makefile
  5. 2
      boards/mbed_lpc1768/Makefile
  6. 3
      boards/mbed_lpc1768/Makefile.include
  7. 2
      boards/msb-430-common/Makefile
  8. 2
      boards/msb-430/Makefile
  9. 2
      boards/msb-430h/Makefile
  10. 1
      boards/msba2-common/Makefile
  11. 1
      boards/msba2/Makefile
  12. 2
      boards/native/Makefile
  13. 2
      boards/native/drivers/Makefile
  14. 2
      boards/redbee-econotag/Makefile
  15. 2
      boards/telosb/Makefile
  16. 2
      boards/wsn430-common/Makefile
  17. 2
      boards/wsn430-v1_3b/Makefile
  18. 2
      boards/wsn430-v1_4/Makefile
  19. 2
      core/Makefile
  20. 1
      cpu/cc430/Makefile
  21. 3
      cpu/lpc2387/Makefile
  22. 2
      cpu/lpc2387/gpioint/Makefile
  23. 2
      cpu/lpc2387/mci/Makefile
  24. 2
      cpu/lpc2387/rtc/Makefile
  25. 1
      cpu/msp430-common/Makefile
  26. 3
      cpu/msp430x16x/Makefile
  27. 2
      cpu/native/Makefile
  28. 2
      cpu/native/net/Makefile
  29. 2
      cpu/native/rtc/Makefile
  30. 1
      drivers/Makefile
  31. 2
      drivers/cc110x_ng/spi/Makefile
  32. 3
      sys/Makefile
  33. 2
      sys/net/link_layer/protocol-multiplex/Makefile

3
Makefile

@ -2,6 +2,9 @@ DIRS = $(RIOTCPU)/$(CPU) core drivers sys
.PHONY: all clean doc
include $(RIOTCPU)/$(CPU)/Makefile.include
include $(RIOTBOARD)/$(BOARD)/Makefile.include
all:
mkdir -p $(BINDIR)
@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;

3
Makefile.base

@ -23,9 +23,6 @@ export CFLAGS += -DVERSION=\"$(GIT_VERSION)\"
.PHONY: clean
include $(RIOTCPU)/$(CPU)/Makefile.include
include $(RIOTBOARD)/$(BOARD)/Makefile.include
$(BINDIR)$(MODULE).a: $(OBJ) $(ASMOBJ)
@$(AR) -rc $(BINDIR)$(MODULE).a $(OBJ) $(ASMOBJ)

2
boards/avsextrem/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = drivers $(RIOTBOARD)/msba2-common
all: $(BINDIR)$(MODULE).a

2
boards/chronos/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = drivers
all: $(BINDIR)$(MODULE).a

2
boards/mbed_lpc1768/Makefile

@ -1,5 +1,3 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
include $(RIOTBASE)/Makefile.base

3
boards/mbed_lpc1768/Makefile.include

@ -23,6 +23,5 @@ export FFLAGS = $(HEXFILE)
export ELFFILE = bin/$(PROJECT).elf
export DEBUGGER_FLAGS = $(ELFFILE)
INCLUDES += -Iinclude/
INCLUDES += -I$(RIOTCPU)/$(CPU)/include
INCLUDES += -Iinclude/ -I$(RIOTCPU)/$(CPU)/include
export OFLAGS = -O binary

2
boards/msb-430-common/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = drivers
all: $(BINDIR)$(MODULE).a

2
boards/msb-430/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = $(RIOTBOARD)/msb-430-common
all: $(BINDIR)$(MODULE).a

2
boards/msb-430h/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = $(RIOTBOARD)/msb-430-common
all: $(BINDIR)$(MODULE).a

1
boards/msba2-common/Makefile

@ -1,5 +1,4 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = drivers

1
boards/msba2/Makefile

@ -1,5 +1,4 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
INCLUDES += -I$(RIOTBASE)/drivers/cc110x
DIRS = $(RIOTBOARD)/msba2-common

2
boards/native/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = drivers
all: $(BINDIR)$(MODULE).a

2
boards/native/drivers/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
all: $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;

2
boards/redbee-econotag/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = drivers
all: $(BINDIR)$(MODULE).a

2
boards/telosb/Makefile

@ -1,5 +1,3 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
include $(RIOTBASE)/Makefile.base

2
boards/wsn430-common/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = drivers
all: $(BINDIR)$(MODULE).a

2
boards/wsn430-v1_3b/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = $(RIOTBOARD)/wsn430-common
all: $(BINDIR)$(MODULE).a

2
boards/wsn430-v1_4/Makefile

@ -1,7 +1,5 @@
MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
DIRS = $(RIOTBOARD)/wsn430-common
all: $(BINDIR)$(MODULE).a

2
core/Makefile

@ -1,5 +1,3 @@
MODULE =core
INCLUDES = -Iinclude -I$(RIOTBASE)/sys/include -I$(RIOTCPU)/$(CPU)/include
include $(RIOTBASE)/Makefile.base

1
cpu/cc430/Makefile

@ -1,6 +1,5 @@
MODULE = cpu
INCLUDES += -I$(RIOTCPU)/$(CPU)/include -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/cc110x_ng/include
DIRS = $(RIOTCPU)/msp430-common
all: $(BINDIR)$(MODULE).a

3
cpu/lpc2387/Makefile

@ -1,6 +1,7 @@
MODULE =cpu
INCLUDES = -I../include -Idrivers/include -I../arm_common/include -I../../sys/lib -I../../drivers/include -I../../core/include -I../../sys/include -I../../hal/include -I../../..
include $(RIOTCPU)/$(CPU)/Makefile.include
DIRS = $(RIOTCPU)/arm_common $(RIOTCPU)/lpc_common
ifneq (,$(findstring gpioint,$(USEMODULE)))
DIRS += gpioint

2
cpu/lpc2387/gpioint/Makefile

@ -1,5 +1,3 @@
INCLUDES = -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include -I../../net -I../include -I../../lib -I../../../.. -I../../../cpu/ -I../../../core/include -I../../
MODULE =gpioint
include $(MAKEBASE)/Makefile.base

2
cpu/lpc2387/mci/Makefile

@ -1,5 +1,3 @@
INCLUDES = -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include -I../../net -I../include -I../../lib -I../../../.. -I../../../cpu/ -I../../../core/include -I../../
MODULE =mci
include $(MAKEBASE)/Makefile.base

2
cpu/lpc2387/rtc/Makefile

@ -1,5 +1,3 @@
INCLUDES = -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/core/include
MODULE =rtc
include $(MAKEBASE)/Makefile.base

1
cpu/msp430-common/Makefile

@ -1,6 +1,5 @@
MODULE =msp430_common
INCLUDES += -Iinclude -I$(RIOTBASE)/core/include/ -I$(RIOTBOARD)/$(BOARD)/include
DIRS =
all: $(BINDIR)$(MODULE).a

3
cpu/msp430x16x/Makefile

@ -1,6 +1,7 @@
MODULE =cpu
INCLUDES = -I../include -I$(RIOTBASE)/core/include
include $(RIOTCPU)/$(CPU)/Makefile.include
DIRS = $(RIOTCPU)/msp430-common/
all: $(BINDIR)$(MODULE).a

2
cpu/native/Makefile

@ -1,7 +1,5 @@
MODULE = cpu
INCLUDES += -I../include -I$(RIOTBASE)/core/include
EXCLUDES := -I$(RIOTBASE)/sys/posix/%
DIRS =

2
cpu/native/net/Makefile

@ -1,5 +1,3 @@
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/sys/include
EXCLUDES := -I$(RIOTBASE)/sys/posix/%
MODULE = nativenet

2
cpu/native/rtc/Makefile

@ -1,5 +1,3 @@
INCLUDES = -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/core/include
MODULE =rtc
include $(MAKEBASE)/Makefile.base

1
drivers/Makefile

@ -1,5 +1,4 @@
MODULE = drivers
INCLUDES = -I$(RIOTBASE)/sys/include -I$(RIOTBASE)/core/include -I$(CURDIR)/include -Iinclude -I$(RIOTBASE)/sys/net/include
DIRS=
ifneq (,$(findstring powermon,$(USEMODULE)))

2
drivers/cc110x_ng/spi/Makefile

@ -1,5 +1,3 @@
INCLUDES = -I$(RIOTBASE)/sys/include -I../../net -I../include -I../../lib -I../../../.. -I../../../cpu/ -I$(RIOTBASE)/core/include -I../../ -Iinclude/
MODULE =cc110x_spi
include $(MAKEBASE)/Makefile.base

3
sys/Makefile

@ -1,5 +1,3 @@
export INCLUDES = -Iinclude -I$(CURDIR)/include -I$(RIOTBASE)/sys/net/include -I$(RIOTBASE)/drivers/include -I$(RIOTCPU)/$(CPU)/include -I$(RIOTBASE)/core/include
MODULE =sys
ifneq (,$(findstring auto_init,$(USEMODULE)))
DIRS += auto_init
@ -17,6 +15,7 @@ ifneq (,$(findstring ps,$(USEMODULE)))
DIRS += ps
endif
ifneq (,$(findstring posix,$(USEMODULE)))
INCLUDES += -I$(RIOTBASE)/sys/posix/include
DIRS += posix
endif
ifneq (,$(findstring shell,$(USEMODULE)))

2
sys/net/link_layer/protocol-multiplex/Makefile

@ -1,3 +1,5 @@
INCLUDES += -I$(RIOTBASE)/sys/net/include
MODULE:=protocol_multiplex
include $(RIOTBASE)/Makefile.base

Loading…
Cancel
Save