mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/panel-mipi-dbi-firmware: replace host-python3 with BR2_PYTHON3_HOST_DEPENDENCY
The mipi-dbi-cmd script does not require a particular python3 version. Using BR2_PYTHON3_HOST_DEPENDENCY avoids the need to build host-python3 if python3 is installed on the host, and nothing else in the build depends on host-python3. Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de> Suggested-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
7b9dec5f3a
commit
84d03a38bf
@@ -11,13 +11,13 @@ PANEL_MIPI_DBI_FIRMWARE_LICENSE = CC0-1.0
|
||||
# license info is directly in the only source file
|
||||
PANEL_MIPI_DBI_FIRMWARE_LICENSE_FILES = mipi-dbi-cmd
|
||||
|
||||
PANEL_MIPI_DBI_FIRMWARE_DEPENDENCIES = host-python3
|
||||
PANEL_MIPI_DBI_FIRMWARE_DEPENDENCIES = $(BR2_PYTHON3_HOST_DEPENDENCY)
|
||||
|
||||
BR2_PACKAGE_PANEL_MIPI_DBI_FIRMWARE_BIN = $(addsuffix .bin,$(basename $(notdir $(shell echo $(BR2_PACKAGE_PANEL_MIPI_DBI_FIRMWARE_SOURCE)))))
|
||||
|
||||
define PANEL_MIPI_DBI_FIRMWARE_BUILD_CMDS
|
||||
for source in $(shell echo $(BR2_PACKAGE_PANEL_MIPI_DBI_FIRMWARE_SOURCE)) ; do \
|
||||
$(HOST_DIR)/bin/python $(@D)/mipi-dbi-cmd "$(@D)/$$(basename $${source%.*}).bin" "$${source}" ; \
|
||||
PATH=$(BR_PATH) $(@D)/mipi-dbi-cmd "$(@D)/$$(basename $${source%.*}).bin" "$${source}" ; \
|
||||
done
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user