Skip to content

Commit a698504

Browse files
committed
aws-crt-cpp, aws-iot-device-sdk-cpp-v2: fix packaging of cmake files into -dev
1 parent a9fe387 commit a698504

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

recipes-sdk/aws-crt-cpp/aws-crt-cpp_0.32.5.bb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ PACKAGECONFIG[static] = "-DBUILD_SHARED_LIBS=OFF,-DBUILD_SHARED_LIBS=ON"
6363
# CMAKE_CROSSCOMPILING=ON will disable building the tests
6464
PACKAGECONFIG[with-tests] = "-DBUILD_TESTING=ON -DCMAKE_CROSSCOMPILING=OFF,-DBUILD_TESTING=OFF,"
6565

66-
FILES:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'build-deps', '${libdir}/*', '', d)}"
67-
6866
FILES:${PN} += "${libdir}/libaws-crt-cpp.so"
6967
FILES:${PN}-dev += "\
7068
${includedir}/aws/crt/* \
7169
${libdir}/aws-crt-cpp/* \
7270
${includedir}/aws/iot/* \
71+
${@bb.utils.contains('PACKAGECONFIG', 'build-deps', '${libdir}/s2n/cmake', '', d)} \
7372
"
7473

7574
# Notify that libraries are not versioned

recipes-sdk/aws-iot-device-sdk-cpp-v2/aws-iot-device-sdk-cpp-v2_1.35.1.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ PACKAGECONFIG ??= "\
4747
build-deps \
4848
"
4949

50-
FILES:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'build-deps', '${libdir}/*', '', d)}"
50+
FILES:${PN}-dev += "${@bb.utils.contains('PACKAGECONFIG', 'build-deps', '${libdir}/s2n/cmake', '', d)}"
5151

5252
# nooelint: oelint.vars.insaneskip:INSANE_SKIP
5353
INSANE_SKIP += "${@bb.utils.contains('PACKAGECONFIG', 'build-deps', 'ldflags', '', d)}"

0 commit comments

Comments
 (0)