Commit 6b706679 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

blktrace: really fix parallel build issue

Fixes:
http://autobuild.buildroot.net/results/dd4/dd47b3ca17bdb597d6b12de6b381cf5f25abaf71/
http://autobuild.buildroot.net/results/a84/a842234fbdc8f65d48089b90ee23523540a7091f/
http://autobuild.buildroot.net/results/e63/e6351692ad6aef397e68ffdf107f3a85e4490015/



And many more.

Commit a21163ae (package/blktrace: do not build in parallel) tried to fix
the parallel build issue, but the package doesn't use the autotools package
infrastructure so BLKTRACE_MAKE isn't used.  Instead replace the explicit
$(MAKE) calls with $(MAKE1).

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 0b9bf380
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -10,14 +10,12 @@ BLKTRACE_DEPENDENCIES = libaio
BLKTRACE_LICENSE = GPLv2+
BLKTRACE_LICENSE_FILES = COPYING

BLKTRACE_MAKE = $(MAKE1)

define BLKTRACE_BUILD_CMDS
	$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
	$(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef

define BLKTRACE_INSTALL_TARGET_CMDS
	$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \
	$(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \
		DESTDIR=$(TARGET_DIR) prefix=/usr
endef