From 8bdc22653f0555b286c014dbb95bc8064f9693c4 Mon Sep 17 00:00:00 2001 From: Andrew D'Angelo Date: Mon, 21 Aug 2023 16:20:05 -0500 Subject: [PATCH] Move Buildroot scripts out of repo --- Config.in | 10 ---------- init/S01sharpdrm | 35 ----------------------------------- sharp-drm.mk | 25 ------------------------- 3 files changed, 70 deletions(-) delete mode 100644 Config.in delete mode 100755 init/S01sharpdrm delete mode 100644 sharp-drm.mk diff --git a/Config.in b/Config.in deleted file mode 100644 index 86e7b5f..0000000 --- a/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_SHARP_DRM - bool "sharp-drm" - default y - depends on BR2_LINUX_KERNEL - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_SPI - select BR2_PACKAGE_GPIO - select BR2_PACKAGE_RASPI_GPIO - help - DRM driver for Sharp Memory LCD diff --git a/init/S01sharpdrm b/init/S01sharpdrm deleted file mode 100755 index 8186cf9..0000000 --- a/init/S01sharpdrm +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# sharpdrm Loads Sharp DRM driver -# - -umask 077 - -start() { - /sbin/modprobe sharp-drm - echo "OK" -} -stop() { - echo "OK" -} -restart() { - stop - start -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - restart - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/sharp-drm.mk b/sharp-drm.mk deleted file mode 100644 index a260806..0000000 --- a/sharp-drm.mk +++ /dev/null @@ -1,25 +0,0 @@ -SHARP_DRM_VERSION = 1.0 -SHARP_DRM_SITE = $(BR2_EXTERNAL_BEEPY_DRIVERS_PATH)/package/sharp-drm -SHARP_DRM_SITE_METHOD = local - -SHARP_DRM_INSTALL_IMAGES = YES -SHARP_DRM_MODULE_SUBDIRS = . - -define SHARP_DRM_BUILD_CMDS - for dts in $(@D)/*.dts; do \ - $(HOST_DIR)/bin/dtc -@ -I dts -O dtb -W no-unit_address_vs_reg -o $${dts%.dts}.dtbo $${dts}; \ - done -endef - -define SHARP_DRM_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/init/S01sharpdrm $(TARGET_DIR)/etc/init.d/; -endef - -define SHARP_DRM_INSTALL_IMAGES_CMDS - for dtbo in $(@D)/*.dtbo; do \ - $(INSTALL) -D -m 0644 $${dtbo} $(BINARIES_DIR)/rpi-firmware/overlays; \ - done -endef - -$(eval $(kernel-module)) -$(eval $(generic-package))