Skip to content

Commit 8b767c4

Browse files
committed
mipi-dbi: mark as non-shared, drop tool from tree
As the MIPI-DBI firmware blobs are carrying target-dependencies to only be available and get built for the targets they are actually used by, the package needs to be flagged as 'nonshared'. While at it, remove the duplicated firmware compiler and instead use the (archived) upstream repo it came from. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
1 parent 52852ca commit 8b767c4

2 files changed

Lines changed: 10 additions & 145 deletions

File tree

‎package/firmware/mipi-dbi/Makefile‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,21 @@
33
include $(TOPDIR)/rules.mk
44

55
PKG_NAME:=mipi-dbi
6-
PKG_RELEASE:=4
6+
PKG_RELEASE:=5
77

88
PKG_LICENSE:=GPL-2.0-or-later
99
PKG_LICENSE_FILES:=
1010

11+
PKG_SOURCE_PROTO:=git
12+
PKG_SOURCE_URL=https://github.com/notro/panel-mipi-dbi.git
13+
PKG_MIRROR_HASH:=ce0e428bed1d7d63cfacf27f689097c611a7a35ce1303326adba8877df8a942a
14+
PKG_SOURCE_DATE:=2024-10-29
15+
PKG_SOURCE_VERSION:=1cbd40135a8c7f25d7b444a7fac77fd3c3ad471e
16+
1117
PKG_MAINTAINER:=Matt Eaton <linux@divinehawk.com>
1218

19+
PKG_FLAGS:=nonshared
20+
1321
include $(INCLUDE_DIR)/package.mk
1422

1523
# The panel-mipi-dbi driver requests "<compatible[0]>.bin", so each init
@@ -25,7 +33,7 @@ endef
2533

2634
define Build/Compile
2735
$(foreach seq,$(MIPI_DBI_SEQUENCES), \
28-
$(STAGING_DIR_HOST)/bin/python3 ./mipi-dbi-cmd \
36+
$(STAGING_DIR_HOST)/bin/python3 $(PKG_BUILD_DIR)/mipi-dbi-cmd \
2937
$(PKG_BUILD_DIR)/$(seq:.txt=.bin) ./files/$(seq) || exit 1;)
3038
endef
3139

‎package/firmware/mipi-dbi/mipi-dbi-cmd‎

Lines changed: 0 additions & 143 deletions
This file was deleted.

0 commit comments

Comments
 (0)