Ensure that the FB frontend sets a subtarget, otherwise error out. This prevents silly mistakes like 'NETSURF_FB_FRONTEND := SDL' which had me stumped for a few minutes.

svn path=/trunk/netsurf/; revision=6571
This commit is contained in:
Daniel Silverstone 2009-02-20 10:10:32 +00:00
parent 0cecbe3cbc
commit c1235f1e9e
1 changed files with 5 additions and 0 deletions

View File

@ -608,6 +608,11 @@ ifeq ($(TARGET),framebuffer)
LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl)
SUBTARGET := -vnc
endif
ifeq ($(SUBTARGET),)
$(error Unable to proceed, no FB subtarget chosen.)
endif
endif
# ----------------------------------------------------------------------------