diff --git a/recipes-devtools/openocd/openocd-stm32mp.inc b/recipes-devtools/openocd/openocd-stm32mp.inc index 69b190b..91ca09d 100644 --- a/recipes-devtools/openocd/openocd-stm32mp.inc +++ b/recipes-devtools/openocd/openocd-stm32mp.inc @@ -1,3 +1,7 @@ +DEPENDS = "hidapi-stm32mp" + +RDEPENDS_${PN} += "libusb1 hidapi-stm32mp" + inherit pkgconfig autotools-brokensep gettext SRC_URI = " \ @@ -21,6 +25,7 @@ DEPENDS_class-nativesdk = "nativesdk-hidapi-stm32mp" RDEPENDS_${PN} += "libusb1 hidapi-stm32mp" EXTRA_OECONF = " \ + --disable-doxygen-html \ --disable-werror \ --enable-stlink \ --enable-cmsis-dap \ @@ -29,6 +34,9 @@ EXTRA_OECONF = " \ HIDAPI_LIBS=-L${STAGING_LIBDIR}\ -lhidapi-libusb \ " +# Can't be built with ccache +CCACHE_DISABLE = "1" + do_configure() { ./bootstrap nosubmodule oe_runconf ${EXTRA_OECONF} diff --git a/recipes-devtools/openocd/openocd-stm32mp_0.10.0.bb b/recipes-devtools/openocd/openocd-stm32mp_0.10.0.bb index 1f0e02f..54c98d2 100644 --- a/recipes-devtools/openocd/openocd-stm32mp_0.10.0.bb +++ b/recipes-devtools/openocd/openocd-stm32mp_0.10.0.bb @@ -5,12 +5,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" require openocd-stm32mp.inc -SRC_URI_prepend = " git://repo.or.cz/openocd.git;name=openocd " +SRC_URI_prepend = "git://repo.or.cz/openocd.git;name=openocd " SRCREV_FORMAT = "openocd" SRCREV_openocd = "b5d2b1224fed3909aa3314339611ac5ac7ab0f82" PV = "0.10.0-release.${SRCPV}" -SRC_URI += "file://0001-M4-visible-rebase-on-b5d2b1224fed-fixes.patch" -SRC_URI += "file://0002-fixes-for-gcc-10-build-macos-build-CM4-halt-stlink-J.patch" +SRC_URI += " \ + file://0001-M4-visible-rebase-on-b5d2b1224fed-fixes.patch \ + file://0002-fixes-for-gcc-10-build-macos-build-CM4-halt-stlink-J.patch \ +"