![Baruch Siach](/assets/img/avatar_default.png)
The 'ready' target creates a symlink in the libslack/ subdirectory to make up the path to header files. Unfortunately, the target building sources files that need that symlink, does not depend on the 'ready' target. This might break highly parallel builds. As a workaround make the 'ready' target before making 'all'. Should fix: http://autobuild.buildroot.net/results/ed2/ed21ac166f2151aa69a7790a17ff05f05afa512d/ http://autobuild.buildroot.net/results/333/3338539743c8b0399c6b0fcbbb7c28b58bf3f387/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
28 lines
710 B
Makefile
28 lines
710 B
Makefile
################################################################################
|
|
#
|
|
# daemon
|
|
#
|
|
################################################################################
|
|
|
|
DAEMON_VERSION = 0.6.4
|
|
DAEMON_SITE = http://libslack.org/daemon/download
|
|
DAEMON_LICENSE = GPL-2.0+
|
|
DAEMON_LICENSE_FILES = LICENSE
|
|
|
|
define DAEMON_CONFIGURE_CMDS
|
|
(cd $(@D); ./config)
|
|
endef
|
|
|
|
define DAEMON_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) ready
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define DAEMON_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) DEB_BUILD_OPTIONS=nostrip \
|
|
$(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \
|
|
install-daemon-bin
|
|
endef
|
|
|
|
$(eval $(generic-package))
|