tools: reorganize dependencies, fix build after deleting staging dir

A lot of packages (especially those using libtool) depend on sed being
available. xz fails on an incremental build pretty early if it's not
there.

Clean up handling if essential core tools (patch, tar, xz), build them
in parallel and make them depend on sed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2017-01-07 18:25:33 +01:00
parent 589a16fdb6
commit a9232ba1ed
2 changed files with 18 additions and 12 deletions

View File

@@ -17,6 +17,9 @@ export SED:=
HOST_BUILD_PARALLEL:=1
HOSTCC := $(HOSTCC_NOCACHE)
HOSTCXX := $(HOSTCXX_NOCACHE)
include $(INCLUDE_DIR)/host-build.mk
HOST_CONFIGURE_ARGS += \