From 080d2104ff3b1637f919129bc40a99203a198a08 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 27 Mar 2014 14:29:07 -0700 Subject: [PATCH 1/2] mk: Always touch libuv.a libuv.a always looks out of date to the makefile, causing make to always descend into the libuv makefile, even when there's nothing to build. --- mk/rt.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/rt.mk b/mk/rt.mk index 01667352c676d..77bb22b7bfc69 100644 --- a/mk/rt.mk +++ b/mk/rt.mk @@ -215,6 +215,7 @@ $$(LIBUV_DIR_$(1))/Release/libuv.a: $$(LIBUV_DEPS) $$(LIBUV_MAKEFILE_$(1)) \ BUILDTYPE=Release \ NO_LOAD="$$(LIBUV_NO_LOAD)" \ V=$$(VERBOSE) + $$(Q)touch $$@ endif From 476f0e36f0cb53a10fc7e545c5306de52180bdf5 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 27 Mar 2014 20:21:57 -0700 Subject: [PATCH 2/2] mk: Fix syntax error in installation target --- mk/install.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/install.mk b/mk/install.mk index e360afe291b7c..b4688539ded5c 100644 --- a/mk/install.mk +++ b/mk/install.mk @@ -12,7 +12,7 @@ install: dist-install-dir-$(CFG_BUILD) $(Q)sh tmp/dist/$(PKG_NAME)-$(CFG_BUILD)/install.sh --prefix="$(CFG_PREFIX)" --libdir="$(CFG_LIBDIR)" --mandir="$(CFG_MANDIR)" # Remove tmp files while we can because they may have been created under sudo - $(Q)rm -R tmp/dist/$(PKG_NAME)-$(CFG_BUILD/ + $(Q)rm -R tmp/dist/$(PKG_NAME)-$(CFG_BUILD) uninstall: dist-install-dir-$(CFG_BUILD) $(Q)sh tmp/dist/$(PKG_NAME)-$(CFG_BUILD)/install.sh --uninstall --prefix="$(CFG_PREFIX)" --libdir="$(CFG_LIBDIR)" --mandir="$(CFG_MANDIR)"