diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2012-03-30 07:23:13 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2012-03-30 07:23:13 (GMT) |
commit | b30427d28d4cceee4de47142d60f1711fb616dbf (patch) | |
tree | 318d28d8c0f8beb6581fdb4694916a15cf93a5ab /Makefile | |
parent | 96bbff530aa4c1e0e5623c99f1106542b6496231 (diff) | |
download | mxe-b30427d28d4cceee4de47142d60f1711fb616dbf.zip mxe-b30427d28d4cceee4de47142d60f1711fb616dbf.tar.gz mxe-b30427d28d4cceee4de47142d60f1711fb616dbf.tar.bz2 |
Load list of packages from index.html instead of scanning src/
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ DIST_DIR := $(PWD)/dist TMP_DIR = $(PWD)/tmp-$(1) MAKEFILE := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) TOP_DIR := $(patsubst %/,%,$(dir $(MAKEFILE))) -PKGS := $(sort $(patsubst $(TOP_DIR)/src/%.mk,%,$(wildcard $(TOP_DIR)/src/*.mk))) +PKGS := $(shell $(SED) -n 's/^.* id="\([^"]*\)-package".*$$/\1/p' '$(TOP_DIR)/index.html') PATH := $(PREFIX)/bin:$(PATH) CMAKE_TOOLCHAIN_FILE := $(PREFIX)/$(TARGET)/share/cmake/mxe-conf.cmake |