1 # SPDX-License-Identifier: GPL-2.0-only
11 @for DIR in
$(SUBDIRS
); do \
12 BUILD_TARGET
=$(OUTPUT
)/$$DIR; \
13 mkdir
$$BUILD_TARGET -p
; \
14 make OUTPUT
=$$BUILD_TARGET -C
$$DIR $@
;\
15 #SUBDIR test prog name should be in the form: SUBDIR_test.sh \
16 TEST
=$$DIR"_test.sh"; \
17 if
[ -e
$$DIR/$$TEST ]; then \
18 rsync
-a
$$DIR/$$TEST $$BUILD_TARGET/; \
22 override define INSTALL_RULE
23 mkdir
-p
$(INSTALL_PATH
)
24 install -t
$(INSTALL_PATH
) $(TEST_PROGS
) $(TEST_PROGS_EXTENDED
) $(TEST_FILES
)
26 @for SUBDIR in
$(SUBDIRS
); do \
27 BUILD_TARGET
=$(OUTPUT
)/$$SUBDIR; \
28 mkdir
$$BUILD_TARGET -p
; \
29 $(MAKE
) OUTPUT
=$$BUILD_TARGET -C
$$SUBDIR INSTALL_PATH
=$(INSTALL_PATH
)/$$SUBDIR install; \
34 @for DIR in
$(SUBDIRS
); do \
35 BUILD_TARGET
=$(OUTPUT
)/$$DIR; \
36 mkdir
$$BUILD_TARGET -p
; \
37 make OUTPUT
=$$BUILD_TARGET -C
$$DIR $@
;\