This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.
This also adds a service_triggers() function and removes some
unnecessary curly brackets.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Build depends refer to source package names, not binary package names.
In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.
Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This removes unnecessary dependancy on xmlto which can be problematic on macOS build environment.
Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
In SConstruct the set of executables in the devenv variable should be adjusted to use the cross compile toolchain (as opposed to host's executables).
Achieved by setting target option to the toolchain prefix which corrects compilation on macOS.
Note, TARGET_CROSS has to have the hyphen stripped as SConstruct uses the target variable with an implied hyphen (env['target'] + '-' + toolname)
Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
Because this selects ttyUSB0 (bad choice) by default, turn off enabling gps
by default until the user set's the tty manually and will stop gpsd from
stomping on another device's tty.
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
This package is currently in oldpackages. Add here to keep support for gpsd.
From oldpackages, this was bumped from 3.10 -> 3.15 and includes an upstream
patch to allow building with musl.
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>