From: Yann E. MORIN Date: Sat, 21 Feb 2015 22:36:20 +0000 (+0100) Subject: package/freerdp: move architecture-specific block X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d081d51bf97f3ec303b039b779cee5aabb90f0ac;p=buildroot.git package/freerdp: move architecture-specific block Move the arch-spcific block up, so it does not interfere with followup patches (mostly to ease review). Signed-off-by: "Yann E. MORIN" Reviewed-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk index 0dbf8a4fbb..cf96ff4ff7 100644 --- a/package/freerdp/freerdp.mk +++ b/package/freerdp/freerdp.mk @@ -48,6 +48,22 @@ else FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF endif +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +FREERDP_CONF_OPTS += -DWITH_NEON=ON +else +FREERDP_CONF_OPTS += -DWITH_NEON=OFF +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE2),y) +FREERDP_CONF_OPTS += -DWITH_SSE2=ON +else +FREERDP_CONF_OPTS += -DWITH_SSE2=OFF +endif + +ifeq ($(BR2_arm)$(BR2_armeb),y) +FREERDP_CONF_OPTS += -DARM_FP_ABI=$(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI)) +endif + ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y) FREERDP_DEPENDENCIES += xlib_libXext FREERDP_CONF_OPTS += -DWITH_X11=ON @@ -97,20 +113,4 @@ else FREERDP_CONF_OPTS += -DWITH_XV=OFF endif -ifeq ($(BR2_ARM_CPU_HAS_NEON),y) -FREERDP_CONF_OPTS += -DWITH_NEON=ON -else -FREERDP_CONF_OPTS += -DWITH_NEON=OFF -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE2),y) -FREERDP_CONF_OPTS += -DWITH_SSE2=ON -else -FREERDP_CONF_OPTS += -DWITH_SSE2=OFF -endif - -ifeq ($(BR2_arm)$(BR2_armeb),y) -FREERDP_CONF_OPTS += -DARM_FP_ABI=$(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI)) -endif - $(eval $(cmake-package))