Revision 870f74ac os/modules/Makefile

View differences:

os/modules/Makefile
23 23

  
24 24

  
25 25

  
26
all: modules
26
include $(dir $(lastword $(MAKEFILE_LIST)))modules.mk
27 27

  
28
include $(dir $(abspath $(lastword $(MAKEFILE_LIST))))modules.mk
28
.PHONY: all $(MODULES) flash clean
29

  
30
ifneq ($(BUILDDIR),)
31
  export BUILDDIR
32
endif
29 33

  
30 34
CLEANTRGS = $(MODULES:%=clean_%)
31 35
FLASHTRGS = $(MODULES:%=flash_%)
32 36

  
33
.PHONY: $(MODULES)
34

  
35
modules: $(MODULES)
37
all: $(MODULES)
36 38
$(MODULES):
37 39
	$(MAKE) -C $(MODULES_DIR)$@
38 40

  

Also available in: Unified diff