summaryrefslogtreecommitdiff
path: root/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile.config b/Makefile.config
index fd5d455c1..239dd21ab 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -182,6 +182,33 @@ ifeq ($(TARGET),debug)
endif
+# ----------------------------------------------------------------------------
+# Framebuffer-target-specific options
+# ----------------------------------------------------------------------------
+ifeq ($(TARGET),framebuffer)
+ # Optimisation levels
+ CFLAGS += -O2 -Wuninitialized
+
+ # Framebuffer frontend.
+ # Valid values are: linux, able
+ NETSURF_FB_FRONTEND := linux
+
+ # Use libharu to enable PDF export and GTK printing support.
+ # Valid options: YES, NO
+ NETSURF_USE_HARU_PDF := NO
+
+ # Framebuffer frontends may have differing root paths for resources
+ # As such, these specify the resource path and config path.
+ NETSURF_FB_RESPATH_linux := /usr/share/netsurf/
+ NETSURF_FB_RESPATH_able := (tftpboot)/
+ NETSURF_FB_RESPATH_dummy := ./
+
+ NETSURF_FB_HOMEPATH_linux := ~/.netsurf/
+ NETSURF_FB_HOMEPATH_able := (tftpboot)/
+ NETSURF_FB_HOMEPATH_dummy := ./
+
+endif
+
# Include any local overrides
-include Makefile.config.override