mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
add framebuffer cross compiling support
This commit is contained in:
parent
ba0cf5c949
commit
d34f03e69e
17
Makefile
17
Makefile
@ -271,8 +271,21 @@ else
|
|||||||
CXX := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*g++)
|
CXX := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*g++)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
# All other targets (GTK, Framebuffer)
|
ifeq ($(findstring framebuffer,$(TARGET)),framebuffer)
|
||||||
PKG_CONFIG := pkg-config
|
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
|
||||||
|
else
|
||||||
|
# All native targets (GTK)
|
||||||
|
PKG_CONFIG := pkg-config
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user