[commit] r2346 - in trunk: config user vendors/Nintendo/common vendors/Nintendo/common/rc.d

dslinux_sonny_jim at dslinux.in-berlin.de dslinux_sonny_jim at dslinux.in-berlin.de
Wed Aug 13 15:51:34 CEST 2008


Author: dslinux_sonny_jim
Date: Wed Aug 13 15:51:33 2008
New Revision: 2346

Log:
Integrating hinged into the build system

Added:
   trunk/vendors/Nintendo/common/rc.d/hinged   (contents, props changed)
Modified:
   trunk/config/Configure.help
   trunk/config/config.in
   trunk/user/Makefile
   trunk/vendors/Nintendo/common/rc.common
   trunk/vendors/Nintendo/common/rc.defaults

Modified: trunk/config/Configure.help
==============================================================================
--- trunk/config/Configure.help	(original)
+++ trunk/config/Configure.help	Wed Aug 13 15:51:33 2008
@@ -4004,6 +4004,12 @@
   user with a simple way of recording or playing raw audio data 
   from or to their sound card
 
+CONFIG_USER_HINGED_HINGED
+  Simple daemon to handle the Nintendo DS hinge
+
+CONFIG_USER_HINGED_EXAMPLE
+  Example of how to use hinged
+
 #
 #
 # END of proprietary config help

Modified: trunk/config/config.in
==============================================================================
--- trunk/config/config.in	(original)
+++ trunk/config/config.in	Wed Aug 13 15:51:33 2008
@@ -832,6 +832,10 @@
 bool 'grep'			CONFIG_USER_GREP_GREP
 bool 'hd'			CONFIG_USER_HD_HD
 bool 'hexedit'			CONFIG_USER_HEXEDIT_HEXEDIT
+bool 'hinged'			CONFIG_USER_HINGED_HINGED
+if [ "$CONFIG_USER_HINGED_HINGED" = "y" ]; then
+	bool 'hinged example'	CONFIG_USER_HINGED_EXAMPLE
+fi
 bool 'hnb'			CONFIG_USER_HNB
 bool 'ImageMagick'		CONFIG_USER_IMAGEMAGICK
 bool 'lcalc'			CONFIG_USER_LCALC_LCALC

Modified: trunk/user/Makefile
==============================================================================
--- trunk/user/Makefile	(original)
+++ trunk/user/Makefile	Wed Aug 13 15:51:33 2008
@@ -158,6 +158,8 @@
 dir_$(CONFIG_USER_GREP_GREP)                += grep
 dir_$(CONFIG_USER_GZIP_GZIP)                += gzip
 dir_$(CONFIG_USER_HD_HD)                    += hd
+dir_$(CONFIG_USER_HINGED_HINGED)            += hinged
+dir_$(CONFIG_USER_HINGED_EXAMPLE)           += hinged
 dir_$(CONFIG_USER_HOSTAP_HOSTAP)            += hostap
 dir_$(CONFIG_USER_HEXEDIT_HEXEDIT)          += hexedit
 dir_$(CONFIG_USER_HNB)                      += hnb

Modified: trunk/vendors/Nintendo/common/rc.common
==============================================================================
--- trunk/vendors/Nintendo/common/rc.common	(original)
+++ trunk/vendors/Nintendo/common/rc.common	Wed Aug 13 15:51:33 2008
@@ -46,6 +46,13 @@
 		echo "Not starting syslogd"
 fi
 
+if [ "$start_hinged" = "YES" ]
+then
+		/etc/rc.d/hinged start
+	else
+		echo "Not starting hinged"
+fi
+
 # setup networking
 if [ "$enable_network_on_boot" = "YES" ]
 then

Modified: trunk/vendors/Nintendo/common/rc.defaults
==============================================================================
--- trunk/vendors/Nintendo/common/rc.defaults	(original)
+++ trunk/vendors/Nintendo/common/rc.defaults	Wed Aug 13 15:51:33 2008
@@ -167,4 +167,7 @@
 # To check for updates from Kineox on boot, change to "YES"
 check_update="NO"
 
+# To start the hinged daemon, change to "YES"
+start_hinged="NO"
+
 # End of file.


More information about the dslinux-commit mailing list