Compare commits

...

2 Commits

Author SHA1 Message Date
John d34e35372c missing preconfig for schalter 2015-02-23 22:29:03 +01:00
John 2c8f52f9b2 schalter patched with .config and senmqd 2015-02-01 10:08:12 +01:00
8 changed files with 1845 additions and 5 deletions

1806
.config Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1120,6 +1120,7 @@ endif
source "package/samba/Config.in"
source "package/samba4/Config.in"
source "package/sconeserver/Config.in"
source "package/senmqd/Config.in"
source "package/ser2net/Config.in"
source "package/shairport-sync/Config.in"
source "package/smcroute/Config.in"

16
package/senmqd/Config.in Normal file
View File

@ -0,0 +1,16 @@
config BR2_PACKAGE_SENMQD
bool "senmqd"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_INET_IPV6 # zeromq
depends on BR2_LARGEFILE # util-linux
depends on BR2_USE_WCHAR # util-linux
depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
select BR2_PACKAGE_CPPZMQ
help
gpio via zmq
see https://github.com/tuxcodejohn/senmqd
comment "senmqd needs a toolchain w/ C++, IPv6, largefile, wchar, threads"
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)

15
package/senmqd/senmqd.mk Normal file
View File

@ -0,0 +1,15 @@
################################################################################
#
# senmqd
#
################################################################################
SENMQD_VERSION = da2290674871924f728811c07cc5e9b2a72c9a52
SENMQD_SITE = $(call github,tuxcodejohn,senmqd,$(SENMQD_VERSION))
SENMQD_INSTALL_TARGET = YES
SENMQD_DEPENDENCIES = zeromq cppzmq
SENMQD_LICENSE = GPL
SENMQD_LICENSE_FILES = LICENSE
SENMQD_AUTORECONF = YES
$(eval $(autotools-package))

View File

@ -6,7 +6,7 @@
case "$1" in
start)
echo "Starting network..."
/sbin/ifup -a
sleep 3; /sbin/ifup -a
;;
stop)
echo -n "Stopping network..."

View File

@ -24,8 +24,9 @@ null::sysinit:/bin/hostname -F /etc/hostname
::sysinit:/etc/init.d/rcS
# Put a getty on the serial port
#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
ttyAMA0::respawn:/sbin/getty -L ttyAMA0 115200 vt100 # GENERIC_SERIAL
tty2::respawn:/usr/bin/senmqd
# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot

View File

@ -1,3 +1 @@
Welcome to Buildroot
Welcome to Schalter

View File

@ -2,3 +2,6 @@
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp