diff options
author | Tony Theodore <tonyt@logyst.com> | 2017-11-27 04:52:21 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2017-12-22 21:19:00 (GMT) |
commit | 9d39a40a2b8fb37f7c70b48ddf43f094b931113a (patch) | |
tree | cb00c89fa75d2d3f6b1c281000e8a49a162c5b1f /Makefile | |
parent | 5fe1c5043ba9207a7b3e4f3de5ab734de7c6af41 (diff) | |
download | mxe-9d39a40a2b8fb37f7c70b48ddf43f094b931113a.zip mxe-9d39a40a2b8fb37f7c70b48ddf43f094b931113a.tar.gz mxe-9d39a40a2b8fb37f7c70b48ddf43f094b931113a.tar.bz2 |
Makefile and build-pkg: use {pkg}~{target} directly
Required for the case where a cross package is independent of it's
native package (e.g. libiconv) and the native pkg may not have been
built in the dep chain. Calling:
```
make pkg MXE_TARGETS=...
```
will then cause `make` to build the native pkg as well. (MXE_TARGETS
is still required otherwise it will be picked up from settings.mk)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -663,8 +663,8 @@ download-$(1): download-$(3)~$(1) download-only-$(1) download-$(3)~$(1): download-only-$(1) \ $(addprefix download-,$(PKG_ALL_DEPS)) -.PHONY: $(1) -$(1): $(PREFIX)/$(3)/installed/$(1) +.PHONY: $(1) $(1)~$(3) +$(1) $(1)~$(3): $(PREFIX)/$(3)/installed/$(1) $(PREFIX)/$(3)/installed/$(1): $(PKG_MAKEFILES) \ $($(PKG)_PATCHES) \ $(PKG_TESTFILES) \ |