From df7c3fd201cd88fd7989566303ca3937cbc7642d Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 12 May 2013 10:13:47 +0100 Subject: make linux framebuffer build depend on TARGET=Linux --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 50cae71..dc3daee 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,11 @@ $(eval $(call pkg_config_package_available,NSFB_WLD_AVAILABLE,wayland-client)) # surfaces not detectable via pkg-config NSFB_ABLE_AVAILABLE := no -NSFB_LINUX_AVAILABLE := yes +ifeq ($(TARGET),Linux) + NSFB_LINUX_AVAILABLE := yes +else + NSFB_LINUX_AVAILABLE := no +endif # Flags and setup for each support library ifeq ($(NSFB_SDL_AVAILABLE),yes) -- cgit v1.2.3