aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/cmake.d/03-macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake
index 06f61a4..89b93f6 100644
--- a/cmake/cmake.d/03-macros.cmake
+++ b/cmake/cmake.d/03-macros.cmake
@@ -311,7 +311,7 @@ macro(project_targets_populate)
POST_BUILD
COMMAND mkdir -p ${PACKAGE_ETCDIR}
COMMAND touch ${PACKAGE_ETCDIR}
- COMMAND cp -r ${BD}/${TARGET} ${PACKAGE_ETCDIR}
+ COMMAND cp -r ${BD}/${TARGET}/* ${PACKAGE_ETCDIR}
)
add_dependencies(populate ${POPULE_PACKAGE_TARGET})
add_dependencies(${POPULE_PACKAGE_TARGET} ${TARGET})