File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ --- /dev/null
2+ +++ b/package/kernel/p44-ledchain/Makefile
3+ @@ -0,0 +1,35 @@
4+ + include $(TOPDIR)/rules.mk
5+ + include $(INCLUDE_DIR)/kernel.mk
6+ +
7+ + PKG_NAME:=p44-ledchain
8+ +
9+ + PKG_MIRROR_HASH:=dc5c915d8d9c236486ecbebe242a9ac2558072f53bda4184cd978640d48d9b60
10+ + PKG_SOURCE_URL:=https://github.com/plan44/plan44-feed.git
11+ + PKG_SOURCE_DATE:=2023-08-16
12+ + PKG_SOURCE_PROTO:=git
13+ + PKG_SOURCE_VERSION:=9d4ed3ebe1a2d06cad67524a7bbb2ad7596f133e
14+ +
15+ + include $(INCLUDE_DIR)/package.mk
16+ +
17+ + define KernelPackage/$(PKG_NAME)
18+ + SUBMENU:=Other modules
19+ + DEPENDS:=@(TARGET_ramips_mt76x8||TARGET_ramips_mt7688)
20+ + TITLE:=p44-ledchain driver for WS28xx/SK68xx
21+ + FILES:= $(PKG_BUILD_DIR)/p44-ledchain/src/p44-ledchain.ko
22+ + endef
23+ +
24+ + define KernelPackage/$(PKG_NAME)/description
25+ + This package contains the p44-ledchain kernel driver for WS28xx and SK68xx type serial LED chains
26+ + for MT7688, which uses PWM unit to generate the WS28xx timing without blocking IRQs.
27+ + endef
28+ +
29+ + MAKE_OPTS:= \
30+ + ARCH="$(LINUX_KARCH)" \
31+ + CROSS_COMPILE="$(TARGET_CROSS)" \
32+ + SUBDIRS="$(PKG_BUILD_DIR)"
33+ +
34+ + define Build/Compile
35+ + $(KERNEL_MAKE) EXTRA_CFLAGS=-Wno-vla M="$(PKG_BUILD_DIR)/p44-ledchain/src"
36+ + endef
37+ +
38+ + $(eval $(call KernelPackage,$(PKG_NAME)))
You can’t perform that action at this time.
0 commit comments