summaryrefslogtreecommitdiffstats
path: root/package/directfb
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-01-21 08:48:08 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-21 08:48:08 +0100
commitd4f2f892885a3e57a21312547328cf3f297f8024 (patch)
tree03a3c2f32fecf68604e156115d082c209002cf60 /package/directfb
parentc7a81abc5421b95ea24efd1d74614ee032c014a4 (diff)
downloadbuildroot-novena-d4f2f892885a3e57a21312547328cf3f297f8024.tar.gz
buildroot-novena-d4f2f892885a3e57a21312547328cf3f297f8024.zip
directfb: fixup input/gfx drivers handling after 0e4d25ff0fc5
The input/gfx drivers handling got broken by the ':=' -> '=' conversion, as we redefine the variables in terms of themselves, causing recursion. Fix it by directly assigning the result to DIRECTFB_CONF_OPT instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/directfb')
-rw-r--r--package/directfb/directfb.mk14
1 files changed, 6 insertions, 8 deletions
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index 05a6c5076..0df866f22 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -63,13 +63,12 @@ DIRECTFB_GFX = \
$(if $(BR2_PACKAGE_DIRECTFB_EP9X),ep9x)
ifeq ($(strip $(DIRECTFB_GFX)),)
-DIRECTFB_GFX = none
+DIRECTFB_CONF_OPT += --with-gfxdrivers=none
else
-DIRECTFB_GFX = $(subst $(space),$(comma),$(strip $(DIRECTFB_GFX)))
+DIRECTFB_CONF_OPT += \
+ --with-gfxdrivers=$(subst $(space),$(comma),$(strip $(DIRECTFB_GFX)))
endif
-DIRECTFB_CONF_OPT += --with-gfxdrivers=$(DIRECTFB_GFX)
-
DIRECTFB_INPUT = \
$(if $(BR2_PACKAGE_DIRECTFB_LINUXINPUT),linuxinput) \
$(if $(BR2_PACKAGE_DIRECTFB_KEYBOARD),keyboard) \
@@ -82,13 +81,12 @@ DIRECTFB_DEPENDENCIES += tslib
endif
ifeq ($(strip $(DIRECTFB_INPUT)),)
-DIRECTFB_INPUT = none
+DIRECTFB_CONF_OPT += --with-inputdrivers=none
else
-DIRECTFB_INPUT = $(subst $(space),$(comma),$(strip $(DIRECTFB_INPUT)))
+DIRECTFB_CONF_OPT += \
+ --with-inputdrivers=$(subst $(space),$(comma),$(strip $(DIRECTFB_INPUT)))
endif
-DIRECTFB_CONF_OPT += --with-inputdrivers=$(DIRECTFB_INPUT)
-
ifeq ($(BR2_PACKAGE_DIRECTFB_GIF),y)
DIRECTFB_CONF_OPT += --enable-gif
else