Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update usb_modeswitch

add usb_modeswitch_data
  • Loading branch information...
commit f17d47355074083dd49f3c20b7c64695b1c292dc 1 parent 35c5f44
@jcwoltz authored
View
7 br-e10-next/.config
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2012.02-git-00414-g1b2dcc3-dirty Configuration
+# Buildroot 2012.02-git-00424-g6aca7a9-dirty Configuration
#
BR2_HAVE_DOT_CONFIG=y
BR2_arm=y
@@ -484,6 +484,7 @@ BR2_PACKAGE_UDEV=y
# BR2_PACKAGE_UDEV_ALL_EXTRAS is not set
# BR2_PACKAGE_UNIONFS is not set
BR2_PACKAGE_USB_MODESWITCH=y
+BR2_PACKAGE_USB_MODESWITCH_DATA=y
BR2_PACKAGE_USBMOUNT=y
BR2_PACKAGE_USBUTILS=y
BR2_PACKAGE_USBUTILS_ZLIB=y
@@ -574,7 +575,9 @@ BR2_PACKAGE_PYTHON_NETIFACES=y
BR2_PACKAGE_PYTHON_SERIAL=y
BR2_PACKAGE_PYTHON_SETUPTOOLS=y
# BR2_PACKAGE_RUBY is not set
-# BR2_PACKAGE_TCL is not set
+BR2_PACKAGE_TCL=y
+BR2_PACKAGE_TCL_DEL_ENCODINGS=y
+# BR2_PACKAGE_TCL_SHLIB_ONLY is not set
#
# Libraries
View
1  br-e10-next/package/Config.in
@@ -220,6 +220,7 @@ source "package/uboot-tools/Config.in"
source "package/udev/Config.in"
source "package/unionfs/Config.in"
source "package/usb_modeswitch/Config.in"
+source "package/usb_modeswitch_data/Config.in"
source "package/usbmount/Config.in"
source "package/usbutils/Config.in"
source "package/wipe/Config.in"
View
1  br-e10-next/package/usb_modeswitch/Config.in
@@ -7,3 +7,4 @@ config BR2_PACKAGE_USB_MODESWITCH
Used to switch mode on multiple-function devices
http://www.draisberghof.de/usb_modeswitch/
+
View
39 br-e10-next/package/usb_modeswitch/usb_modeswitch-makefile.patch
@@ -1,23 +1,20 @@
-diff -Nura usb-modeswitch-1.1.2.orig/Makefile usb-modeswitch-1.1.2/Makefile
---- usb-modeswitch-1.1.2.orig/Makefile 2010-04-17 15:27:11.000000000 -0300
-+++ usb-modeswitch-1.1.2/Makefile 2010-04-22 15:05:32.363471807 -0300
-@@ -1,6 +1,6 @@
- PROG = usb_modeswitch
- VERS = 1.1.2
--CC = gcc
-+CC ?= gcc
- CFLAGS += -Wall -l usb
- RM = /bin/rm -f
- OBJS = usb_modeswitch.c
-@@ -23,8 +23,9 @@
- install: all
- install -d $(SBINDIR)
- install --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
-- install --mode=755 usb_modeswitch.tcl $(UDEVDIR)/usb_modeswitch
-- install --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf
-+ #install --mode=755 usb_modeswitch.tcl $(UDEVDIR)/usb_modeswitch
-+ #install --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf
-+ install -d $(MANDIR)
- install --mode=644 usb_modeswitch.1 $(MANDIR)/usb_modeswitch.1
+--- usb_modeswitch-1.2.3.orig/Makefile.orig 2012-02-06 14:00:15.000000000 -0500
++++ usb_modeswitch-1.2.3/Makefile 2012-02-06 14:01:13.000000000 -0500
+@@ -46,7 +46,7 @@
+ cd jim && $(MAKE) distclean
+ install-common:
+- install -D -s --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
++ install -D --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
+ install -D --mode=755 usb_modeswitch.sh $(UDEVDIR)/usb_modeswitch
+ install -D --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf
+ install -D --mode=644 usb_modeswitch.1 $(MANDIR)/usb_modeswitch.1
+@@ -65,7 +65,7 @@
+ install -D --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher
+
+ install-binary:
+- install -D -s --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher
++ install -D --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher
+
+ install: all install-common install-script
View
10 br-e10-next/package/usb_modeswitch/usb_modeswitch.mk
@@ -4,22 +4,22 @@
#
#############################################################
-USB_MODESWITCH_VERSION = 1.1.2
+USB_MODESWITCH_VERSION = 1.2.3
USB_MODESWITCH_SOURCE = usb-modeswitch-$(USB_MODESWITCH_VERSION).tar.bz2
USB_MODESWITCH_SITE = http://www.draisberghof.de/usb_modeswitch
USB_MODESWITCH_DEPENDENCIES = libusb-compat
define USB_MODESWITCH_BUILD_CMDS
- $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
+ $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)
endef
define USB_MODESWITCH_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
- $(INSTALL) -D $(@D)/usb_modeswitch.setup -m 0644 \
- $(TARGET_DIR)/etc/usb_modeswitch.setup
+ $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
+
define USB_MODESWITCH_CLEAN_CMDS
+ $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) clean
rm -f $(TARGET_DIR)/usr/sbin/usb_modeswitch
rm -f $(TARGET_DIR)/etc/usb_modeswitch.setup
rm -f $(TARGET_DIR)/usr/share/man/man1/usb_modeswitch.1
View
7 br-e10-next/package/usb_modeswitch_data/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_USB_MODESWITCH_DATA
+ bool "usb_modeswitch_data"
+ select BR2_PACKAGE_USB_MODESWITCH
+ help
+ USB mode switcher data
+ Contains udev rules and other data
+
View
24 br-e10-next/package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch
@@ -0,0 +1,24 @@
+diff -Nura usb_modeswitch_data-20120120.orig/Makefile usb_modeswitch_data-20120120/Makefile
+--- usb_modeswitch_data-20120120.orig/Makefile 2012-01-20 17:25:32.000000000 -0500
++++ usb_modeswitch_data-20120120/Makefile 2012-02-06 14:20:47.000000000 -0500
+@@ -12,9 +12,9 @@
+
+ clean:
+
+-install: files-install db-install rules-reload
++install: files-install db-install
+
+-install-packed: files-install db-install-packed rules-reload
++install-packed: files-install db-install-packed
+
+ files-install:
+ install -d $(PREFIX)/share/usb_modeswitch
+@@ -50,7 +50,7 @@
+ fi \
+ fi
+
+-uninstall: files-uninstall rules-reload
++uninstall: files-uninstall
+
+ files-uninstall:
+ $(RM) $(RULESDIR)/40-usb_modeswitch.rules
View
26 br-e10-next/package/usb_modeswitch_data/usb_modeswitch_data.mk
@@ -0,0 +1,26 @@
+#############################################################
+#
+# usb_modeswitch_data
+#
+#############################################################
+
+USB_MODESWITCH_DATA_VERSION = 20120120
+USB_MODESWITCH_DATA_SOURCE = usb-modeswitch-data-$(USB_MODESWITCH_DATA_VERSION).tar.bz2
+USB_MODESWITCH_DATA_SITE = http://www.draisberghof.de/usb_modeswitch
+USB_MODESWITCH_DATA_DEPENDENCIES = usb_modeswitch
+
+define USB_MODESWITCH_DATA_BUILD_CMDS
+ $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)
+endef
+
+define USB_MODESWITCH_DATA_INSTALL_TARGET_CMDS
+ $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+endef
+
+
+define USB_MODESWITCH_DATA_CLEAN_CMDS
+ $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) clean
+endef
+
+$(eval $(call GENTARGETS))
+
View
7 br1111-main/.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.11-g311a132-dirty Configuration
-# Mon Feb 6 11:00:56 2012
+# Buildroot 2011.11-g35c5f44-dirty Configuration
+# Mon Feb 6 14:34:09 2012
#
BR2_HAVE_DOT_CONFIG=y
BR2_arm=y
@@ -197,7 +197,7 @@ BR2_PTHREADS_NATIVE=y
#
# System configuration
#
-BR2_TARGET_GENERIC_HOSTNAME="e10-br1111-c2b4"
+BR2_TARGET_GENERIC_HOSTNAME="e10-br1111-c2b5"
BR2_TARGET_GENERIC_ISSUE="E10 br1111-main Build 20120206 web"
# BR2_ROOTFS_DEVICE_CREATION_STATIC is not set
# BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS is not set
@@ -489,6 +489,7 @@ BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV=y
BR2_PACKAGE_UDEV=y
# BR2_PACKAGE_UDEV_ALL_EXTRAS is not set
BR2_PACKAGE_USB_MODESWITCH=y
+BR2_PACKAGE_USB_MODESWITCH_DATA=y
BR2_PACKAGE_USBMOUNT=y
BR2_PACKAGE_USBUTILS=y
BR2_PACKAGE_USBUTILS_ZLIB=y
View
80 br1111-main/debug.log
@@ -1437,3 +1437,83 @@
`board/synapse/e10/root-additions/srv/www/htdocs/sql/viewcmd.py' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/sql/viewcmd.py'
`board/synapse/e10/root-additions/var/spool/cron/crontabs/root' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/var/spool/cron/crontabs/root'
`board/synapse/e10/root-additions/var/spool/cron/crontabs/cron.update' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/var/spool/cron/crontabs/cron.update'
+`board/synapse/e10/root-additions/etc/wpa_supplicant.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/wpa_supplicant.conf'
+`board/synapse/e10/root-additions/etc/ppp' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp'
+`board/synapse/e10/root-additions/etc/ppp/peers' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/peers'
+`board/synapse/e10/root-additions/etc/ppp/peers/bb2go' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/peers/bb2go'
+`board/synapse/e10/root-additions/etc/ppp/peers/bb2go_chat' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/peers/bb2go_chat'
+`board/synapse/e10/root-additions/etc/ppp/peers/gsm_chat' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/peers/gsm_chat'
+`board/synapse/e10/root-additions/etc/ppp/peers/cdma' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/peers/cdma'
+`board/synapse/e10/root-additions/etc/ppp/peers/gsm' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/peers/gsm'
+`board/synapse/e10/root-additions/etc/ppp/peers/cdma_chat' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/peers/cdma_chat'
+`board/synapse/e10/root-additions/etc/ppp/peers/gsm885' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/peers/gsm885'
+`board/synapse/e10/root-additions/etc/ppp/ip-up.local' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/ip-up.local'
+`board/synapse/e10/root-additions/etc/ppp/ip-down.local' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ppp/ip-down.local'
+`board/synapse/e10/root-additions/etc/ifplugd/ifplugd.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/ifplugd/ifplugd.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/vhosts.d/vhosts.template' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/vhosts.d/vhosts.template'
+`board/synapse/e10/root-additions/etc/lighttpd/vhosts.d/Makefile.in' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/vhosts.d/Makefile.in'
+`board/synapse/e10/root-additions/etc/lighttpd/vhosts.d/Makefile' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/vhosts.d/Makefile'
+`board/synapse/e10/root-additions/etc/lighttpd/vhosts.d/Makefile.am' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/vhosts.d/Makefile.am'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/cgi.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/cgi.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/rrdtool.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/rrdtool.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/mime.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/mime.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/evhost.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/evhost.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/auth.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/auth.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/access_log.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/access_log.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/compress.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/compress.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/trigger_b4_dl.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/trigger_b4_dl.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/dirlisting.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/dirlisting.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/mysql_vhost.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/mysql_vhost.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/Makefile.in' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/Makefile.in'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/cml.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/cml.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/Makefile' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/Makefile'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/proxy.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/proxy.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/expire.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/expire.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/fastcgi.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/fastcgi.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/scgi.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/scgi.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/geoip.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/geoip.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/ssi.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/ssi.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/webdav.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/webdav.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/mod.template' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/mod.template'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/simple_vhost.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/simple_vhost.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/debug.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/debug.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/Makefile.am' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/Makefile.am'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/status.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/status.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/secdownload.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/secdownload.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/userdir.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/userdir.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/conf.d/magnet.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/conf.d/magnet.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/lighttpd.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/lighttpd.conf'
+`board/synapse/e10/root-additions/etc/lighttpd/modules.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/lighttpd/modules.conf'
+`board/synapse/e10/root-additions/etc/usb_modeswitch.setup' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/usb_modeswitch.setup'
+`board/synapse/e10/root-additions/etc/network/interfaces' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/network/interfaces'
+`board/synapse/e10/root-additions/etc/network/pre-wlan.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/network/pre-wlan.sh'
+`board/synapse/e10/root-additions/etc/init.d/S60cron' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/init.d/S60cron'
+`board/synapse/e10/root-additions/etc/init.d/S80lighttpd' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/init.d/S80lighttpd'
+`board/synapse/e10/root-additions/etc/init.d/S49ntp' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/init.d/S49ntp'
+`board/synapse/e10/root-additions/etc/init.d/S999snap' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/init.d/S999snap'
+`board/synapse/e10/root-additions/etc/init.d/S99leds' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/init.d/S99leds'
+`board/synapse/e10/root-additions/etc/snmp/snmpd.conf' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/snmp/snmpd.conf'
+`board/synapse/e10/root-additions/etc/default/ntpd' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/default/ntpd'
+`board/synapse/e10/root-additions/etc/fw_env.config' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/etc/fw_env.config'
+`board/synapse/e10/root-additions/root/scripts/cron.daily.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/root/scripts/cron.daily.sh'
+`board/synapse/e10/root-additions/root/scripts/update-jcu.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/root/scripts/update-jcu.sh'
+`board/synapse/e10/root-additions/root/scripts/cron.monthly.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/root/scripts/cron.monthly.sh'
+`board/synapse/e10/root-additions/root/scripts/cron.hourly.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/root/scripts/cron.hourly.sh'
+`board/synapse/e10/root-additions/root/scripts/check-net.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/root/scripts/check-net.sh'
+`board/synapse/e10/root-additions/root/scripts/cron.weekly.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/root/scripts/cron.weekly.sh'
+`board/synapse/e10/root-additions/root/scripts/check-wlan.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/root/scripts/check-wlan.sh'
+`board/synapse/e10/root-additions/root/scripts/rrdtool-graph.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/root/scripts/rrdtool-graph.sh'
+`board/synapse/e10/root-additions/root/scripts/cron.minute.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/root/scripts/cron.minute.sh'
+`board/synapse/e10/root-additions/srv/www/htdocs/test.py' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/test.py'
+`board/synapse/e10/root-additions/srv/www/htdocs/index.html' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/index.html'
+`board/synapse/e10/root-additions/srv/www/htdocs/search_logs.html' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/search_logs.html'
+`board/synapse/e10/root-additions/srv/www/htdocs/update.sh' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/update.sh'
+`board/synapse/e10/root-additions/srv/www/htdocs/addcmd2x.html' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/addcmd2x.html'
+`board/synapse/e10/root-additions/srv/www/htdocs/sql/listmacs.py' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/sql/listmacs.py'
+`board/synapse/e10/root-additions/srv/www/htdocs/sql/addcmd.py' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/sql/addcmd.py'
+`board/synapse/e10/root-additions/srv/www/htdocs/sql/listalllogs.py' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/sql/listalllogs.py'
+`board/synapse/e10/root-additions/srv/www/htdocs/sql/listallcmds.py' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/sql/listallcmds.py'
+`board/synapse/e10/root-additions/srv/www/htdocs/sql/viewlog.py' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/sql/viewlog.py'
+`board/synapse/e10/root-additions/srv/www/htdocs/sql/viewcmd.py' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/srv/www/htdocs/sql/viewcmd.py'
+`board/synapse/e10/root-additions/var/spool/cron/crontabs/root' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/var/spool/cron/crontabs/root'
+`board/synapse/e10/root-additions/var/spool/cron/crontabs/cron.update' -> `/usr/local/src/git/E10-buildroot/br1111-main/output/target/var/spool/cron/crontabs/cron.update'
View
1  br1111-main/package/Config.in
@@ -211,6 +211,7 @@ source "package/ti-utils/Config.in"
source "package/uboot-tools/Config.in"
source "package/udev/Config.in"
source "package/usb_modeswitch/Config.in"
+source "package/usb_modeswitch_data/Config.in"
source "package/usbmount/Config.in"
source "package/usbutils/Config.in"
source "package/wipe/Config.in"
View
1  br1111-main/package/usb_modeswitch/Config.in
@@ -7,3 +7,4 @@ config BR2_PACKAGE_USB_MODESWITCH
Used to switch mode on multiple-function devices
http://www.draisberghof.de/usb_modeswitch/
+
View
39 br1111-main/package/usb_modeswitch/usb_modeswitch-makefile.patch
@@ -1,23 +1,20 @@
-diff -Nura usb-modeswitch-1.1.2.orig/Makefile usb-modeswitch-1.1.2/Makefile
---- usb-modeswitch-1.1.2.orig/Makefile 2010-04-17 15:27:11.000000000 -0300
-+++ usb-modeswitch-1.1.2/Makefile 2010-04-22 15:05:32.363471807 -0300
-@@ -1,6 +1,6 @@
- PROG = usb_modeswitch
- VERS = 1.1.2
--CC = gcc
-+CC ?= gcc
- CFLAGS += -Wall -l usb
- RM = /bin/rm -f
- OBJS = usb_modeswitch.c
-@@ -23,8 +23,9 @@
- install: all
- install -d $(SBINDIR)
- install --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
-- install --mode=755 usb_modeswitch.tcl $(UDEVDIR)/usb_modeswitch
-- install --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf
-+ #install --mode=755 usb_modeswitch.tcl $(UDEVDIR)/usb_modeswitch
-+ #install --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf
-+ install -d $(MANDIR)
- install --mode=644 usb_modeswitch.1 $(MANDIR)/usb_modeswitch.1
+--- usb_modeswitch-1.2.3.orig/Makefile.orig 2012-02-06 14:00:15.000000000 -0500
++++ usb_modeswitch-1.2.3/Makefile 2012-02-06 14:01:13.000000000 -0500
+@@ -46,7 +46,7 @@
+ cd jim && $(MAKE) distclean
+ install-common:
+- install -D -s --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
++ install -D --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
+ install -D --mode=755 usb_modeswitch.sh $(UDEVDIR)/usb_modeswitch
+ install -D --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf
+ install -D --mode=644 usb_modeswitch.1 $(MANDIR)/usb_modeswitch.1
+@@ -65,7 +65,7 @@
+ install -D --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher
+
+ install-binary:
+- install -D -s --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher
++ install -D --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher
+
+ install: all install-common install-script
View
10 br1111-main/package/usb_modeswitch/usb_modeswitch.mk
@@ -4,22 +4,22 @@
#
#############################################################
-USB_MODESWITCH_VERSION = 1.1.2
+USB_MODESWITCH_VERSION = 1.2.3
USB_MODESWITCH_SOURCE = usb-modeswitch-$(USB_MODESWITCH_VERSION).tar.bz2
USB_MODESWITCH_SITE = http://www.draisberghof.de/usb_modeswitch
USB_MODESWITCH_DEPENDENCIES = libusb-compat
define USB_MODESWITCH_BUILD_CMDS
- $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
+ $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)
endef
define USB_MODESWITCH_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
- $(INSTALL) -D $(@D)/usb_modeswitch.setup -m 0644 \
- $(TARGET_DIR)/etc/usb_modeswitch.setup
+ $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
+
define USB_MODESWITCH_CLEAN_CMDS
+ $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) clean
rm -f $(TARGET_DIR)/usr/sbin/usb_modeswitch
rm -f $(TARGET_DIR)/etc/usb_modeswitch.setup
rm -f $(TARGET_DIR)/usr/share/man/man1/usb_modeswitch.1
View
7 br1111-main/package/usb_modeswitch_data/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_USB_MODESWITCH_DATA
+ bool "usb_modeswitch_data"
+ select BR2_PACKAGE_USB_MODESWITCH
+ help
+ USB mode switcher data
+ Contains udev rules and other data
+
View
24 br1111-main/package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch
@@ -0,0 +1,24 @@
+diff -Nura usb_modeswitch_data-20120120.orig/Makefile usb_modeswitch_data-20120120/Makefile
+--- usb_modeswitch_data-20120120.orig/Makefile 2012-01-20 17:25:32.000000000 -0500
++++ usb_modeswitch_data-20120120/Makefile 2012-02-06 14:20:47.000000000 -0500
+@@ -12,9 +12,9 @@
+
+ clean:
+
+-install: files-install db-install rules-reload
++install: files-install db-install
+
+-install-packed: files-install db-install-packed rules-reload
++install-packed: files-install db-install-packed
+
+ files-install:
+ install -d $(PREFIX)/share/usb_modeswitch
+@@ -50,7 +50,7 @@
+ fi \
+ fi
+
+-uninstall: files-uninstall rules-reload
++uninstall: files-uninstall
+
+ files-uninstall:
+ $(RM) $(RULESDIR)/40-usb_modeswitch.rules
View
26 br1111-main/package/usb_modeswitch_data/usb_modeswitch_data.mk
@@ -0,0 +1,26 @@
+#############################################################
+#
+# usb_modeswitch_data
+#
+#############################################################
+
+USB_MODESWITCH_DATA_VERSION = 20120120
+USB_MODESWITCH_DATA_SOURCE = usb-modeswitch-data-$(USB_MODESWITCH_DATA_VERSION).tar.bz2
+USB_MODESWITCH_DATA_SITE = http://www.draisberghof.de/usb_modeswitch
+USB_MODESWITCH_DATA_DEPENDENCIES = usb_modeswitch
+
+define USB_MODESWITCH_DATA_BUILD_CMDS
+ $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)
+endef
+
+define USB_MODESWITCH_DATA_INSTALL_TARGET_CMDS
+ $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+endef
+
+
+define USB_MODESWITCH_DATA_CLEAN_CMDS
+ $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) clean
+endef
+
+$(eval $(call GENTARGETS))
+
Please sign in to comment.
Something went wrong with that request. Please try again.