summaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d/03-macros.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-01 19:36:02 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-09-01 19:36:02 +0200
commite9a682f1c694eec242c3cebccc09380f621ade0b (patch)
treef95330754d620c4c6615dadfc61950594b2e4c9f /cmake/cmake.d/03-macros.cmake
parent11478fa80c529c5c3982e20049051754d18dc079 (diff)
Copying content not the directory.
Change-Id: I3d221379459ff5451b6933fac2383c8c3797d0d3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d/03-macros.cmake')
-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})