aboutsummaryrefslogtreecommitdiffstats
path: root/HAL-afb
diff options
context:
space:
mode:
Diffstat (limited to 'HAL-afb')
-rw-r--r--HAL-afb/CMakeLists.txt7
-rw-r--r--HAL-afb/HDA-intel/CMakeLists.txt7
2 files changed, 5 insertions, 9 deletions
diff --git a/HAL-afb/CMakeLists.txt b/HAL-afb/CMakeLists.txt
index c36f530..1b8cc0e 100644
--- a/HAL-afb/CMakeLists.txt
+++ b/HAL-afb/CMakeLists.txt
@@ -19,10 +19,5 @@
# Include any directory starting with a Capital letter
# -----------------------------------------------------
-file(GLOB filelist "[A-Z]*")
-foreach(filename ${filelist})
- if(EXISTS "${filename}/CMakeLists.txt")
- add_subdirectory(${filename})
- endif(EXISTS "${filename}/CMakeLists.txt")
-endforeach()
+PROJECT_SUBDIRS_ADD("*")
diff --git a/HAL-afb/HDA-intel/CMakeLists.txt b/HAL-afb/HDA-intel/CMakeLists.txt
index 0d32368..08a39dd 100644
--- a/HAL-afb/HDA-intel/CMakeLists.txt
+++ b/HAL-afb/HDA-intel/CMakeLists.txt
@@ -25,9 +25,10 @@ PROJECT_TARGET_ADD(hal-intel-hda)
# Binder exposes a unique public entry point
SET_TARGET_PROPERTIES(hal-intel-hda PROPERTIES
- PREFIX ""
- LINK_FLAGS ${BINDINGS_LINK_FLAG}
- OUTPUT_NAME intel-hda-binding
+ PREFIX "afb-"
+ LABELS "BINDING"
+ LINK_FLAGS ${BINDINGS_LINK_FLAG}
+ OUTPUT_NAME ${TARGET_NAME}
)
# Library dependencies (include updates automatically)