From 5db541a6d7e1d6ae7792e392f8e7dd5d5b07345f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 17 Jan 2021 20:06:24 +0000 Subject: Improve target setup in makefiles split out HOST TARGET and SUBTARGET generation into separate file. split out target(frontend) specific tool settings into separate files. --- frontends/framebuffer/Makefile.tools | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 frontends/framebuffer/Makefile.tools (limited to 'frontends/framebuffer') diff --git a/frontends/framebuffer/Makefile.tools b/frontends/framebuffer/Makefile.tools new file mode 100644 index 000000000..80623b164 --- /dev/null +++ b/frontends/framebuffer/Makefile.tools @@ -0,0 +1,15 @@ +# -*- mode: makefile-gmake -*- +## +## tool setup for the framebuffer target +## + +ifeq ($(origin GCCSDK_INSTALL_ENV),undefined) + PKG_CONFIG := pkg-config +else + PKG_CONFIG := PKG_CONFIG_LIBDIR="$(GCCSDK_INSTALL_ENV)/lib/pkgconfig" pkg-config +endif + +ifneq ($(origin GCCSDK_INSTALL_CROSSBIN),undefined) + CC := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*gcc) + CXX := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*g++) +endif -- cgit v1.2.3