From a2e79fec92b09dbac440de062195df710e83d7f1 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 31 Jan 2016 16:56:58 +1100 Subject: automatically set MXE_PLUGIN_DIRS for native requirements --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 132bd11..d0c73c4 100644 --- a/Makefile +++ b/Makefile @@ -314,6 +314,10 @@ LOOKUP_PKG_RULE = $(strip \ .PHONY: all all: all-filtered +# Build native requirements for certain systems +OS_SHORT_NAME := $(call lc,$(shell lsb_release -sc 2>/dev/null || uname -s)) +MXE_PLUGIN_DIRS += $(realpath $(TOP_DIR)/plugins/native/$(OS_SHORT_NAME)) + .PHONY: check-requirements define CHECK_REQUIREMENT @if ! $(1) --help &>/dev/null; then \ -- cgit v0.12