mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
rfkill: new package
[Thomas: use "br" as the version suffix instead of "-br" so that the final version string is "0.5-br" and not "0.5--br".] Signed-off-by: Viacheslav Volkov <sv99@inbox.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
9312178f56
commit
b8d2e3b545
@ -419,6 +419,7 @@ endif
|
|||||||
source "package/pps-tools/Config.in"
|
source "package/pps-tools/Config.in"
|
||||||
source "package/pulseview/Config.in"
|
source "package/pulseview/Config.in"
|
||||||
source "package/read-edid/Config.in"
|
source "package/read-edid/Config.in"
|
||||||
|
source "package/rfkill/Config.in"
|
||||||
source "package/rng-tools/Config.in"
|
source "package/rng-tools/Config.in"
|
||||||
source "package/rpi-userland/Config.in"
|
source "package/rpi-userland/Config.in"
|
||||||
source "package/rtl8188eu/Config.in"
|
source "package/rtl8188eu/Config.in"
|
||||||
|
7
package/rfkill/Config.in
Normal file
7
package/rfkill/Config.in
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
config BR2_PACKAGE_RFKILL
|
||||||
|
bool "rfkill"
|
||||||
|
help
|
||||||
|
rfkill is a small userspace tool to query the state of the
|
||||||
|
rfkill switches.
|
||||||
|
|
||||||
|
https://wireless.wiki.kernel.org/en/users/documentation/rfkill
|
2
package/rfkill/rfkill.hash
Normal file
2
package/rfkill/rfkill.hash
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# From: https://www.kernel.org/pub/software/network/rfkill/sha256sums.asc
|
||||||
|
sha256 e0ae3004215e39a6c5c36e0726558740728d16f67ebdb8bea621250f6091d86a rfkill-0.5.tar.xz
|
22
package/rfkill/rfkill.mk
Normal file
22
package/rfkill/rfkill.mk
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# rfkill
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
RFKILL_VERSION = 0.5
|
||||||
|
RFKILL_SOURCE = rfkill-$(RFKILL_VERSION).tar.xz
|
||||||
|
RFKILL_SITE = https://www.kernel.org/pub/software/network/rfkill
|
||||||
|
RFKILL_LICENSE = ISC
|
||||||
|
RFKILL_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
define RFKILL_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||||
|
VERSION_SUFFIX="br"
|
||||||
|
endef
|
||||||
|
|
||||||
|
define RFKILL_INSTALL_TARGET_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
Loading…
x
Reference in New Issue
Block a user