mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/pico{tool, -sdk}: install sdk files to $(HOST_DIR)/share
Commits [1] and [2] are installing host SDK files
"$(HOST_DIR)/usr/share".
check-package (see [3]) reports the error:
package/pico-sdk/pico-sdk.mk:23: install files to $(HOST_DIR)/ instead of $(HOST_DIR)/usr/
package/pico-sdk/pico-sdk.mk:24: install files to $(HOST_DIR)/ instead of $(HOST_DIR)/usr/
package/picotool/picotool.mk:15: install files to $(HOST_DIR)/ instead of $(HOST_DIR)/usr/
This commit installs the host SDK files to "$(HOST_DIR)/share" to fix
this error.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/12970341499
[1] ceb800d3c6
[2] 926381d360
[3] 29a0dd4a30
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
committed by
Romain Naour
parent
4aeb85d669
commit
6eaaccf758
@@ -20,8 +20,8 @@ define PICO_SDK_INSTALL_STAGING_CMDS
|
||||
endef
|
||||
|
||||
define HOST_PICO_SDK_INSTALL_CMDS
|
||||
mkdir -p $(HOST_DIR)/usr/share/pico-sdk
|
||||
cp -r $(@D)/* $(HOST_DIR)/usr/share/pico-sdk
|
||||
mkdir -p $(HOST_DIR)/share/pico-sdk
|
||||
cp -r $(@D)/* $(HOST_DIR)/share/pico-sdk
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
@@ -12,7 +12,7 @@ PICOTOOL_LICENSE_FILES = LICENSE.TXT
|
||||
PICOTOOL_CONF_OPTS = -DPICO_SDK_PATH=$(STAGING_DIR)/usr/share/pico-sdk
|
||||
PICOTOOL_DEPENDENCIES = libusb pico-sdk
|
||||
|
||||
HOST_PICOTOOL_CONF_OPTS = -DPICO_SDK_PATH=$(HOST_DIR)/usr/share/pico-sdk
|
||||
HOST_PICOTOOL_CONF_OPTS = -DPICO_SDK_PATH=$(HOST_DIR)/share/pico-sdk
|
||||
HOST_PICOTOOL_DEPENDENCIES = host-libusb host-pico-sdk
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user