diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2021-10-10 22:06:51 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2021-10-10 23:15:05 +0200 |
commit | 80b7a8a7f5a0a88fde6dd19f097df4d7cac9ff04 (patch) | |
tree | ddaa237a59884b598c6fc4ec72d50028bd0be8a5 /package/system/gpio-cdev | |
parent | 7c0fb874436c0613a042c8b07aa00621d08f4eaa (diff) | |
download | upstream-80b7a8a7f5a0a88fde6dd19f097df4d7cac9ff04.tar.gz upstream-80b7a8a7f5a0a88fde6dd19f097df4d7cac9ff04.tar.bz2 upstream-80b7a8a7f5a0a88fde6dd19f097df4d7cac9ff04.zip |
Revert "gpio-cdev: add nu801 userspace driver"
This reverts commit f536f5ebddd9c532a08ac4a9be3ef0c02f7bfeb8.
As Hauke commented, this causes builder failures on 5.4 kernels.
This revert includes changes to the mx100 kernel modules
dependency as well as the uci led definitions.
Tested-by: Chris Blake <chrisrblake93@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'package/system/gpio-cdev')
-rw-r--r-- | package/system/gpio-cdev/nu801/Makefile | 41 | ||||
-rwxr-xr-x | package/system/gpio-cdev/nu801/files/nu801.init | 15 |
2 files changed, 0 insertions, 56 deletions
diff --git a/package/system/gpio-cdev/nu801/Makefile b/package/system/gpio-cdev/nu801/Makefile deleted file mode 100644 index a03d746634..0000000000 --- a/package/system/gpio-cdev/nu801/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-or-later - -include $(TOPDIR)/rules.mk - -PKG_NAME:=nu801 -PKG_RELEASE:=1 - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/chunkeey/nu801.git -PKG_SOURCE_VERSION:=794a588fce3150129bb2e5bb37590c7daceb8927 - -PKG_MAINTAINER:=Christian Lamparter <chunkeey@gmail.com> -PKG_LICENSE:=GPL-3.0-or-later -PKG_LICENSE_FILES:=LICENSE - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/cmake.mk - -define Package/nu801 - SECTION:=utils - CATEGORY:=Utilities - SUBMENU:=Userspace GPIO Drivers - DEPENDS:=@!LINUX_5_4 +kmod-leds-uleds - KCONFIG:= \ - CONFIG_GPIO_CDEV=y - TITLE:=NU801 LED Driver -endef - -define Package/nu801/description -This package contains a userspace driver to power the NUMEN Tech. NU801 LED Driver. -endef - -define Package/nu801/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/nu801 $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/nu801.init $(1)/etc/init.d/nu801 - -endef - -$(eval $(call BuildPackage,nu801)) diff --git a/package/system/gpio-cdev/nu801/files/nu801.init b/package/system/gpio-cdev/nu801/files/nu801.init deleted file mode 100755 index 5613a92f6e..0000000000 --- a/package/system/gpio-cdev/nu801/files/nu801.init +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh /etc/rc.common -# SPDX-License-Identifier: GPL-2.0-or-later - -START=15 -STOP=94 -USE_PROCD=1 - -start_service() { - . /lib/functions.sh - - procd_open_instance - procd_set_param command /usr/sbin/nu801 "$(board_name)" - procd_set_param respawn 5 1 5 - procd_close_instance -} |