diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2026-02-26 17:58:44 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-02 19:25:50 -0800 |
| commit | f1920a8760190f399316bbb3b6d5e7a1bdf40a53 (patch) | |
| tree | 724885edbb19ef8968615c6c4709773e9123b429 /meta-oe/recipes-support | |
| parent | 7f55d23e6526e966cb910e9adba5afd825eb30f1 (diff) | |
| download | meta-openembedded-f1920a8760190f399316bbb3b6d5e7a1bdf40a53.tar.gz | |
bcu: upgrade 1.1.115 -> 1.1.128
1. Changelog:
Support i.MX952 15x15 EVK with Power group updated.
2. Update 0001-CMakeLists-do-not-use-vendored-libcurl.patch for 1.1.128
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
| -rw-r--r-- | meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch | 34 | ||||
| -rw-r--r-- | meta-oe/recipes-support/bcu/bcu_1.1.128.bb (renamed from meta-oe/recipes-support/bcu/bcu_1.1.115.bb) | 4 |
2 files changed, 15 insertions, 23 deletions
diff --git a/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch b/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch index bab1d1f301..ac72be44dc 100644 --- a/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch +++ b/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch | |||
| @@ -1,45 +1,37 @@ | |||
| 1 | From 678c32f867931fd9f410b6e46ea8d101714c7ed5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= <l.goehrs@pengutronix.de> | ||
| 3 | Date: Tue, 6 May 2025 07:45:36 +0200 | ||
| 4 | Subject: [PATCH] CMakeLists: do not use vendored libcurl | 1 | Subject: [PATCH] CMakeLists: do not use vendored libcurl |
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | 2 | ||
| 9 | Upstream-Status: Inappropriate [upstream ticket https://github.com/nxp-imx/bcu/issues/17] | 3 | Upstream-Status: Inappropriate [upstream ticket https://github.com/nxp-imx/bcu/issues/17] |
| 10 | 4 | ||
| 11 | Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> | 5 | Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> |
| 6 | |||
| 7 | Update for 1.1.128 | ||
| 8 | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> | ||
| 12 | --- | 9 | --- |
| 13 | CMakeLists.txt | 10 +++++----- | 10 | CMakeLists.txt | 5 +++-- |
| 14 | 1 file changed, 5 insertions(+), 5 deletions(-) | 11 | 1 file changed, 3 insertions(+), 2 deletions(-) |
| 15 | 12 | ||
| 16 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 13 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 17 | index 42158a2..ac840fc 100644 | 14 | index 0d6b915..f8c76ca 100644 |
| 18 | --- a/CMakeLists.txt | 15 | --- a/CMakeLists.txt |
| 19 | +++ b/CMakeLists.txt | 16 | +++ b/CMakeLists.txt |
| 20 | @@ -17,17 +17,17 @@ pkg_check_modules(LIBFTDI REQUIRED libftdi1) | 17 | @@ -16,14 +16,15 @@ find_package(PkgConfig REQUIRED) |
| 18 | pkg_check_modules(LIBFTDI REQUIRED libftdi1) | ||
| 21 | pkg_check_modules(LIBYAML REQUIRED yaml-0.1) | 19 | pkg_check_modules(LIBYAML REQUIRED yaml-0.1) |
| 22 | pkg_check_modules(LIBOPENSSL REQUIRED openssl) | ||
| 23 | pkg_check_modules(LIBUSB REQUIRED libusb-1.0) | 20 | pkg_check_modules(LIBUSB REQUIRED libusb-1.0) |
| 24 | +pkg_check_modules(LIBCURL REQUIRED libcurl) | 21 | +pkg_check_modules(LIBCURL REQUIRED libcurl) |
| 25 | project(bcu) | 22 | project(bcu) |
| 26 | -include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${PROJECT_SOURCE_DIR}/libftdi/src ${LIBYAML_INCLUDEDIR} ${PROJECT_SOURCE_DIR}/libcurl/include) | 23 | -include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${PROJECT_SOURCE_DIR}/libftdi/src ${LIBYAML_INCLUDEDIR}) |
| 27 | +include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${LIBYAML_INCLUDEDIR}) | 24 | +include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${LIBYAML_INCLUDEDIR}) |
| 28 | include_directories(${PROJECT_SOURCE_DIR}) | 25 | include_directories(${PROJECT_SOURCE_DIR}) |
| 29 | 26 | ||
| 30 | message("operation system is ${CMAKE_SYSTEM}") | 27 | message("operation system is ${CMAKE_SYSTEM}") |
| 31 | if (LINUX) | 28 | if (LINUX) |
| 32 | add_executable(bcu bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c) | 29 | add_executable(bcu bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_ftdi_eeprom.c) |
| 33 | - link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS}) | 30 | - link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS}) |
| 34 | - target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${PROJECT_SOURCE_DIR}/libcurl/build.bcu/lib/libcurl.a -lpthread -lssl -lcrypto -lm -ldl) | ||
| 35 | - execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR} | ||
| 36 | - COMMAND ${PROJECT_SOURCE_DIR}/build_libs.sh ${PROJECT_SOURCE_DIR}) | ||
| 37 | + link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS} ${LIBCURL_LIBRARY_DIRS}) | 31 | + link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS} ${LIBCURL_LIBRARY_DIRS}) |
| 38 | + target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${LIBCURL_LIBRARIES} -lpthread -lssl -lcrypto -lm -ldl) | 32 | target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} -lpthread -lm -ldl) |
| 39 | + execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR}) | 33 | execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR} ) |
| 40 | install(TARGETS bcu DESTINATION bin) | 34 | install(TARGETS bcu DESTINATION bin) |
| 41 | elseif (MACOS) | ||
| 42 | add_executable(bcu_mac bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c) | ||
| 43 | -- | 35 | -- |
| 44 | 2.39.5 | 36 | 2.43.0 |
| 45 | 37 | ||
diff --git a/meta-oe/recipes-support/bcu/bcu_1.1.115.bb b/meta-oe/recipes-support/bcu/bcu_1.1.128.bb index 260fba02a9..2b2e5e7fa0 100644 --- a/meta-oe/recipes-support/bcu/bcu_1.1.115.bb +++ b/meta-oe/recipes-support/bcu/bcu_1.1.128.bb | |||
| @@ -9,10 +9,10 @@ SECTION = "devel" | |||
| 9 | LICENSE = "BSD-3-Clause" | 9 | LICENSE = "BSD-3-Clause" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=884d48c2aa7b82e1ad4a33909fab24b6" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=884d48c2aa7b82e1ad4a33909fab24b6" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;branch=master \ | 12 | SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;branch=master;tag=${BPN}_${PV} \ |
| 13 | file://0001-CMakeLists-do-not-use-vendored-libcurl.patch \ | 13 | file://0001-CMakeLists-do-not-use-vendored-libcurl.patch \ |
| 14 | " | 14 | " |
| 15 | SRCREV = "f081c69c26e330cf03ec790051c415c4716509d9" | 15 | SRCREV = "e7027dcb867dae7aebc8fd0a78ab13f05a4557f2" |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | DEPENDS = "curl libyaml libusb1 openssl libftdi" | 18 | DEPENDS = "curl libyaml libusb1 openssl libftdi" |
