summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-20 21:31:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-20 21:31:34 +0000
commit1e568fd4bca32c5ee38a34ec0218014e96d47b46 (patch)
treef03e986488007fbba93e20d68ccd341558f97080 /tools
parentf8cdadc832a78623edf18c7a5aadadcac136c9a4 (diff)
downloadmtk-20170518-1e568fd4bca32c5ee38a34ec0218014e96d47b46.zip
mtk-20170518-1e568fd4bca32c5ee38a34ec0218014e96d47b46.tar.gz
mtk-20170518-1e568fd4bca32c5ee38a34ec0218014e96d47b46.tar.bz2
tools: compile flock before everything else
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48413
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 13f755a..187655e 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -30,7 +30,7 @@ endif
tools-$(BUILD_TOOLCHAIN) += gmp mpfr mpc libelf expat
tools-y += m4 libtool autoconf automake flex bison pkg-config sed mklibs
tools-y += sstrip make-ext4fs e2fsprogs mtd-utils mkimage
-tools-y += firmware-utils patch-image patch quilt yaffs2 flock padjffs2
+tools-y += firmware-utils patch-image patch quilt yaffs2 padjffs2
tools-y += mm-macros missing-macros xz cmake scons bc findutils gengetopt patchelf
tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2
tools-$(CONFIG_powerpc) += upx
@@ -90,6 +90,9 @@ $(foreach tool, $(tools-y), $(if $(wildcard $(curdir)/$(tool)/patches),$(eval $(
$(foreach tool, $(tools-y), $(eval $(curdir)/$(tool)/compile += $(curdir)/tar/install))
tools-y += tar
+$(curdir)/tar/compile := $(curdir)/flock/install
+tools-y += flock
+
$(curdir)/builddirs := $(tools-y) $(tools-dep) $(tools-)
$(curdir)/builddirs-default := $(tools-y)