summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-01 19:36:02 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:47 +0200
commit4ab6f5fd8ed8539d10cf50389e5373fae987f3db (patch)
treea59a8122440a3737ca2973974cc1f289ea9413a5
parenta46e1726f5880779ce9f22553d1712ed6bee501d (diff)
Copying content not the directory.
Change-Id: I3d221379459ff5451b6933fac2383c8c3797d0d3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-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})