diff options
author | Vincent Sanders <vince@kyllikki.org> | 2021-01-17 20:06:24 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2021-01-17 20:06:24 +0000 |
commit | 5db541a6d7e1d6ae7792e392f8e7dd5d5b07345f (patch) | |
tree | b50d63dae50a85a7d3095a77bb2bb84c021f6a3e /frontends/framebuffer | |
parent | 25c21e5fefc554c1941aa1a99b5b7a6c6ca67589 (diff) | |
download | netsurf-5db541a6d7e1d6ae7792e392f8e7dd5d5b07345f.tar.gz netsurf-5db541a6d7e1d6ae7792e392f8e7dd5d5b07345f.tar.bz2 |
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.
Diffstat (limited to 'frontends/framebuffer')
-rw-r--r-- | frontends/framebuffer/Makefile.tools | 15 |
1 files changed, 15 insertions, 0 deletions
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 |