aboutsummaryrefslogtreecommitdiff
path: root/pl/Dir.mk
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:07:20 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:07:20 +0000
commit70bf985bf12dfa02e9d634a433858320aa2f29dd (patch)
treeb6182e391304fb3a42c51d482dcf671f540f2363 /pl/Dir.mk
parenta57d1a3f7aaf52c6cc32e264be96a14ed1cec5a0 (diff)
parent172d24a7ae67ee7bae413d5a8618f1b5edc002be (diff)
downloadarm-optimized-routines-android14-mainline-sdkext-release.tar.gz
Change-Id: I215e72558ed58a0414b9cabba3e9c567d0895c17
Diffstat (limited to 'pl/Dir.mk')
-rw-r--r--pl/Dir.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/pl/Dir.mk b/pl/Dir.mk
new file mode 100644
index 0000000..2d00779
--- /dev/null
+++ b/pl/Dir.mk
@@ -0,0 +1,21 @@
+# Makefile fragment - requires GNU make
+#
+# Copyright (c) 2022, Arm Limited.
+# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
+
+# These targets are defined if we prescribe pl in SUBS.
+# It requires PLSUBS to be set.
+
+$(foreach sub,$(PLSUBS),$(eval include $(srcdir)/pl/$(sub)/Dir.mk))
+
+pl-files := $($(PLSUBS:%=pl/%-files))
+
+all-pl: $(PLSUBS:%=all-pl/%)
+
+check-pl: $(PLSUBS:%=check-pl/%)
+
+install-pl: $(PLSUBS:%=install-pl/%)
+
+clean-pl: $(PLSUBS:%=clean-pl/%)
+
+.PHONY: all-pl check-pl install-pl clean-pl