summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2012-03-30 07:23:13 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2012-03-30 07:23:13 (GMT)
commitb30427d28d4cceee4de47142d60f1711fb616dbf (patch)
tree318d28d8c0f8beb6581fdb4694916a15cf93a5ab /Makefile
parent96bbff530aa4c1e0e5623c99f1106542b6496231 (diff)
downloadmxe-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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 33e0a6d..f3789f8 100644
--- a/Makefile
+++ b/Makefile
@@ -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