buildroot/package/start-stop-daemon/start-stop-daemon.mk
Baruch Siach 846f64df8b start-stop-daemon: fix build on non listed architectures
Not all Buildroot supported architectures are known to dpkg. Convert the
configure error to a warning.

Fixes:
http://autobuild.buildroot.net/results/24e/24e37550749dc15ed7223fd515fa4628803f341e/
http://autobuild.buildroot.net/results/445/445bf4742d78a0bf93b4c75dc733c4315530031e/
http://autobuild.buildroot.net/results/952/952051485f23b67ffc449360886d6757c385331f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-16 22:37:28 +01:00

39 lines
1.3 KiB
Makefile

################################################################################
#
# start-stop-daemon
#
################################################################################
# Debian start-stop-daemon is part of dpkg. Since start-stop-daemon is the only
# interesting tool in it, we call the buildroot package start-stop-daemon.
START_STOP_DAEMON_VERSION = 1.16.15
START_STOP_DAEMON_SOURCE = dpkg_$(START_STOP_DAEMON_VERSION).tar.xz
START_STOP_DAEMON_SITE = http://snapshot.debian.org/archive/debian/20140616T044945Z/pool/main/d/dpkg
START_STOP_DAEMON_CONF_OPTS = \
--disable-dselect \
--disable-update-alternatives \
--disable-install-info \
--exec-prefix=/
START_STOP_DAEMON_CONF_ENV = \
dpkg_cv_va_copy=yes \
dpkg_cv_c99_snprintf=yes
START_STOP_DAEMON_DEPENDENCIES = host-pkgconf \
$(if $(BR2_PACKAGE_BUSYBOX),busybox)
# Patching m4/dpkg-arch.m4
START_STOP_DAEMON_AUTORECONF = YES
START_STOP_DAEMON_LICENSE = GPLv2+
START_STOP_DAEMON_LICENSE_FILES = COPYING
define START_STOP_DAEMON_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/lib/compat
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/utils
endef
define START_STOP_DAEMON_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/utils/start-stop-daemon \
$(TARGET_DIR)/sbin/start-stop-daemon
endef
$(eval $(autotools-package))