kumquat-buildroot/package/most/most.mk
Arnout Vandecappelle (Essensium/Mind) 152a3f0be3 package/most: disable parallel build
The hand-written Makefile is not parallel-build safe: the objs directory
is created in a separate rule, but the rules that create files in that
directory don't depend on it.

Although this relatively simple to fix, upstream clearly doesn't care
about parallel builds so it is likely to break again in the future.
Since most consists of just a dozen source files, just disable parallel
build.

Fixes:
http://autobuild.buildroot.net/results/c7540203a8eadad3f324f0d7e7fe66a526d4a2e9

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Sven Oliver Moll <buildroot@svol.li>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-04-14 14:57:07 +02:00

26 lines
695 B
Makefile

################################################################################
#
# most
#
################################################################################
MOST_SITE = http://www.jedsoft.org/releases/most
MOST_VERSION = 5.1.0
MOST_LICENSE = GPL-2.0+
MOST_LICENSE_FILES = COPYING COPYRIGHT
MOST_DEPENDENCIES = slang
MOST_CONF_OPTS = --with-slang=$(STAGING_DIR)/usr
MOST_MAKE = $(MAKE1)
define MOST_REMOVE_LOCAL_SLANG_CHECK
$(SED) 's/ slangversion / /g' $(@D)/src/Makefile.in
endef
MOST_POST_PATCH_HOOKS += MOST_REMOVE_LOCAL_SLANG_CHECK
define MOST_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/src/objs/most $(TARGET_DIR)/usr/bin/most
endef
$(eval $(autotools-package))