[Buildroot] [PATCH] New package: freerdp
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed May 30 19:04:41 UTC 2012
Le Wed, 30 May 2012 19:53:34 +0200,
Julian Lunz <git at jlunz.de> a écrit :
> True, but I tend to have it stated more explicitly that these options
> could but mustn't be used.
> So it is more a question of how would I buildroot like to behave.
> A lot of other packages use the mechanism you describe, so what about
> merging both like that:
>
> (make "logical or")
>
> ifneq (,$(filter y, $(BR2_PACKAGE_CUPS) \
> $(BR2_PACKAGE_FREERDP_WITHCUPS)))
> ...
> endif
No, please do like we do for all other packages in Buildroot: simply
use them if available, i.e:
ifeq ($(BR2_PACKAGE_CUPS),y)
... do whatever is needed in your package to use cups
yourpkg_DEPENDENCIES += cups
else
... do whatever is needed in your package to not use cups
endif
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list