1 SUBDIRS
:= drivers 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
),)
8 MYCPU
:= $(FILTERED_CPU
)
11 # do not compile this for lynx
12 MYCPU
:= $(filter-out ppc4
, $(MYCPU
))
15 @if
[ "$(MYCPU)" != "" ]; then \
16 for
dir in
$(SUBDIRS
); \
18 $(MAKE
) -C
$$dir CPU
=$(MYCPU
); \
25 @if
[ "$(MYCPU)" != "" ]; then \
26 for
dir in
$(SUBDIRS
); \
28 $(MAKE
) clean -C
$$dir CPU
=$(MYCPU
); \