aboutsummaryrefslogtreecommitdiff
path: root/package/mii-diag/mii-diag.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-02-26 23:47:19 +0100
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-02-26 23:47:19 +0100
commita84432044e0eed6f6c2f895fd5641a08c370bd4b (patch)
tree08d2c6a082ae074e78cedaab6b4814a6b8ff442c /package/mii-diag/mii-diag.mk
parentd65bb7e3154ed0f78c28fa3ec645b41ec6fca704 (diff)
downloadbuildroot-a84432044e0eed6f6c2f895fd5641a08c370bd4b.tar.gz
buildroot-a84432044e0eed6f6c2f895fd5641a08c370bd4b.tar.bz2
mii-diag: fix race condition
The mii-diag buildsystem doesn't correctly encode the needed dependencies, so the install step can race against the mii-diag-udeb (through all) to either cause mii-diag to be built for the host or not be available when 'install' is executed. Work around it by explicitly calling the needed steps and not building the (unused) udeb version at all. Fixes http://autobuild.buildroot.net/results/4825d267025c74c522077f84330b47f1110315fa Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mii-diag/mii-diag.mk')
-rw-r--r--package/mii-diag/mii-diag.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mii-diag/mii-diag.mk b/package/mii-diag/mii-diag.mk
index a4ad4744c9..b9d763c85e 100644
--- a/package/mii-diag/mii-diag.mk
+++ b/package/mii-diag/mii-diag.mk
@@ -21,11 +21,11 @@ endef
MII_DIAG_POST_PATCH_HOOKS = MII_DIAG_DEBIAN_PATCHES
define MII_DIAG_BUILD_CMDS
- $(MAKE) $(MII_DIAG_MAKE_OPT) -C $(@D)
+ $(MAKE) $(MII_DIAG_MAKE_OPT) -C $(@D) mii-diag
endef
define MII_DIAG_INSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
+ $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install-mii-diag
endef
define MII_DIAG_UNINSTALL_TARGET_CMDS