Patchwork [v4,4/6] Add init script files for snowball board

login
register
mail settings
Submitter Gregory Hermant
Date Nov. 26, 2012, 11:05 a.m.
Message ID <1353927919-7250-5-git-send-email-gregory.hermant@calao-systems.com>
Download mbox | patch
Permalink /patch/201653/
State Superseded
Headers show

Comments

Gregory Hermant - Nov. 26, 2012, 11:05 a.m.
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
 package/Config.in                      |    1 +
 package/snowball-init/Config.in        |   10 ++++++++++
 package/snowball-init/snowball-init.mk |   15 +++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 package/snowball-init/Config.in
 create mode 100644 package/snowball-init/snowball-init.mk
Arnout Vandecappelle - Nov. 28, 2012, 11:18 p.m.
On 26/11/12 12:05, Gregory Hermant wrote:
> +config BR2_PACKAGE_SNOWBALL_INIT
> +	bool "snowball-init"
> +	# Runtime dependency, needed by snowball startup script
> +	select BR2_PACKAGE_BLUEZ_UTILS

  BLUEZ_UTILS depends on a lot of things:

	depends on !BR2_avr32 # bluez_utils
	depends on BR2_USE_WCHAR # bluez_utils -> libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils -> dbus
	depends on BR2_USE_MMU # bluez_utils -> dbus


  Regards,
  Arnout

> +	select BR2_PACKAGE_UX500_FIRMWARE
> +	help
> +	  Snowball init scripts
> +
> +	http://www.igloocommunity.org
> +

Patch

diff --git a/package/Config.in b/package/Config.in
index d1c197a..69f3056 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -551,6 +551,7 @@  source "package/empty/Config.in"
 source "package/googlefontdirectory/Config.in"
 source "package/mobile-broadband-provider-info/Config.in"
 source "package/shared-mime-info/Config.in"
+source "package/snowball-init/Config.in"
 source "package/sound-theme-borealis/Config.in"
 source "package/sound-theme-freedesktop/Config.in"
 endmenu
diff --git a/package/snowball-init/Config.in b/package/snowball-init/Config.in
new file mode 100644
index 0000000..906ff2d
--- /dev/null
+++ b/package/snowball-init/Config.in
@@ -0,0 +1,10 @@ 
+config BR2_PACKAGE_SNOWBALL_INIT
+	bool "snowball-init"
+	# Runtime dependency, needed by snowball startup script
+	select BR2_PACKAGE_BLUEZ_UTILS
+	select BR2_PACKAGE_UX500_FIRMWARE
+	help
+	  Snowball init scripts
+
+	  http://www.igloocommunity.org
+
diff --git a/package/snowball-init/snowball-init.mk b/package/snowball-init/snowball-init.mk
new file mode 100644
index 0000000..278cacb
--- /dev/null
+++ b/package/snowball-init/snowball-init.mk
@@ -0,0 +1,15 @@ 
+#############################################################
+#
+# snowball-init
+#
+#############################################################
+SNOWBALL_INIT_VERSION = b064be21de25729039e5e54037bbdd2e25cfd5b7
+SNOWBALL_INIT_SITE = git://igloocommunity.org/git/bsp/snowball-init.git
+SNOWBALL_INIT_LICENSE = BSD-4c
+SNOWBALL_INIT_LICENSE_FILES = debian/copyright
+
+define SNOWBALL_INIT_INSTALL_TARGET_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/snowball $(TARGET_DIR)/etc/init.d/S50snowball
+endef
+
+$(eval $(generic-package))