staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / tools / testing / selftests / futex / Makefile
blob12631f0076a10274dff566228b05748e9a217be0
1 # SPDX-License-Identifier: GPL-2.0
2 SUBDIRS := functional
4 TEST_PROGS := run.sh
6 .PHONY: all clean
8 include ../lib.mk
10 all:
11 @for DIR in $(SUBDIRS); do \
12 BUILD_TARGET=$(OUTPUT)/$$DIR; \
13 mkdir $$BUILD_TARGET -p; \
14 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
15 if [ -e $$DIR/$(TEST_PROGS) ]; then \
16 rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; \
17 fi \
18 done
20 override define INSTALL_RULE
21 mkdir -p $(INSTALL_PATH)
22 install -t $(INSTALL_PATH) $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES)
24 @for SUBDIR in $(SUBDIRS); do \
25 BUILD_TARGET=$(OUTPUT)/$$SUBDIR; \
26 mkdir $$BUILD_TARGET -p; \
27 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$SUBDIR INSTALL_PATH=$(INSTALL_PATH)/$$SUBDIR install; \
28 done;
29 endef
31 override define CLEAN
32 @for DIR in $(SUBDIRS); do \
33 BUILD_TARGET=$(OUTPUT)/$$DIR; \
34 mkdir $$BUILD_TARGET -p; \
35 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
36 done
37 endef