rfkill: new package
PATCH v5 1/1 rfkill: new package
---
Changes v4 -> v5:
- add license info - ISC (suggested by peter at korsgaard.com)
- add RFKILL_INSTALL_TARGET_CMDS
Changes v3 -> v4:
- remove trailing space in the comment (suggested by yann.morin.1998 at free.fr)
- remove trailing slash in the URL
Changes v2 -> v3:
- wrapp comment to 72 characters length (suggested by Vincent.Riera at imgtec.com)
Changes v1 -> v2:
- correct Config.in (suggested by Vincent.Riera at imgtec.com)
- correct rfkill.mk
--- package/Config.in | 1 + package/rfkill/Config.in | 7 +++++++ package/rfkill/rfkill.hash | 2 ++ package/rfkill/rfkill.mk | 22 ++++++++++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 package/rfkill/Config.in create mode 100644 package/rfkill/rfkill.hash create mode 100644 package/rfkill/rfkill.mk
package/Config.in +1 -0
@@ -403,6 +403,7 @@ endif source "package/pps-tools/Config.in" source "package/pulseview/Config.in" source "package/read-edid/Config.in" + source "package/rfkill/Config.in" source "package/rng-tools/Config.in" source "package/rpi-userland/Config.in" source "package/rtl8188eu/Config.in"
package/rfkill/Config.in new file +7 -0
@@ -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
package/rfkill/rfkill.hash new file +2 -0
@@ -0,0 +1,2 @@ +# From: https://www.kernel.org/pub/software/network/rfkill/sha256sums.asc +sha256 e0ae3004215e39a6c5c36e0726558740728d16f67ebdb8bea621250f6091d86a rfkill-0.5.tar.xz
package/rfkill/rfkill.mk new file +22 -0
@@ -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_FILE = 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))
Signature · 1 line
2.6.1
PATCH v5 1/1 rfkill: new package
Hi Viacheslav,
Quoted 66 lines
Signed-off-by Viacheslav Volkov <[email protected]>---
Changes v4 -> v5:
- add license info - ISC (suggested by peter at korsgaard.com)
- addRFKILL_INSTALL_TARGET_CMDSChanges v3 -> v4:
- remove trailing space in the comment (suggested by yann.morin.1998 at free.fr)
- remove trailing slash in the URLChanges v2 -> v3:
- wrapp comment to 72 characters length (suggested by Vincent.Riera at imgtec.com)Changes v1 -> v2:
- correct Config.in (suggested by Vincent.Riera at imgtec.com)
- correct rfkill.mk--- package/Config.in | 1 + package/rfkill/Config.in | 7 +++++++ package/rfkill/rfkill.hash | 2 ++ package/rfkill/rfkill.mk | 22 ++++++++++++++++++++++ 4 files changed, 32 insertions(+)create mode 100644 package/rfkill/Config.in
create mode 100644 package/rfkill/rfkill.hash
create mode 100644package/rfkill/rfkill.mkpackage/Config.in +1
-0@@ -403,6 +403,7 @@ endif source "package/pps-tools/Config.in" source "package/pulseview/Config.in" source "package/read-edid/Config.in" + source "package/rfkill/Config.in" source "package/rng-tools/Config.in" source "package/rpi-userland/Config.in" source "package/rtl8188eu/Config.in"package/rfkill/Config.in new file +7
-0@@ -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/rfkillpackage/rfkill/rfkill.hash new file +2
-0@@ -0,0 +1,2 @@ +# From: https://www.kernel.org/pub/software/network/rfkill/sha256sums.asc +sha256 e0ae3004215e39a6c5c36e0726558740728d16f67ebdb8bea621250f6091d86a rfkill-0.5.tar.xzpackage/rfkill/rfkill.mk new file +1
-0@@ -0,0 +1,22 @@ +################################################################################
package/rfkill/rfkill.mk line 11
Quoted 10 lines
package/rfkill/rfkill.mk new file +10
-0+# +# 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_FILE = COPYING
This should be
RFKILL_LICENSE_FILES = COPYING
Regards,
Jerzy
Quoted 11 lines
package/rfkill/rfkill.mk new file +11
-0+ +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))