vmod/vmodttl: fixed bug related to luns not ordered and/or not starting from zero.
[ht-drivers.git] / vmod / Makefile
blob557b82d4e5e257c008db85ca69c0d278ecad115c
1 SUBDIRS := doc driver lib test
3 # build for L865 when no CPU is provided or CPU=default
4 FILTERED_CPU := $(filter-out default, $(CPU))
5 ifeq ($(FILTERED_CPU),)
6 MYCPU := L865
7 else
8 MYCPU := $(FILTERED_CPU)
9 endif
11 # do not compile this for lynx
12 MYCPU := $(filter-out ppc4, $(MYCPU))
14 all:
15 @if [ "$(MYCPU)" != "" ]; then \
16 for dir in $(SUBDIRS); \
17 do \
18 (cd $$dir && $(MAKE) CPU=$(MYCPU)); \
19 done \
22 .PHONY: all clean
24 clean:
25 @if [ "$(MYCPU)" != "" ]; then \
26 for dir in $(SUBDIRS); \
27 do \
28 $(MAKE) clean -C $$dir CPU=$(MYCPU); \
29 done \