[Buildroot] [PATCH 1/1] package/apcupsd: don't override dependencies

Alexander Dahl post at lespocky.de
Tue Oct 26 06:19:40 UTC 2021


Hello,

On Tue, Oct 26, 2021 at 12:00:26AM +0200, Fabrice Fontaine wrote:
> Don't override APCUPSD_DEPENDENCIES in a conditional
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/apcupsd/apcupsd.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/apcupsd/apcupsd.mk b/package/apcupsd/apcupsd.mk
> index 502d1b7152..80ed0b0832 100644
> --- a/package/apcupsd/apcupsd.mk
> +++ b/package/apcupsd/apcupsd.mk
> @@ -34,7 +34,7 @@ endif
>  
>  ifeq ($(BR2_PACKAGE_APCUPSD_MODBUS_USB),y)
>  APCUPSD_CONF_OPTS += --enable-modbus-usb
> -APCUPSD_DEPENDENCIES = libusb libusb-compat
> +APCUPSD_DEPENDENCIES += libusb libusb-compat
>  else
>  APCUPSD_CONF_OPTS += --disable-modbus-usb
>  endif
> @@ -65,7 +65,7 @@ endif
>  
>  ifeq ($(BR2_PACKAGE_APCUPSD_USB),y)
>  APCUPSD_CONF_OPTS += --enable-usb
> -APCUPSD_DEPENDENCIES = libusb libusb-compat
> +APCUPSD_DEPENDENCIES += libusb libusb-compat
>  else
>  APCUPSD_CONF_OPTS += --disable-usb
>  endif

Reviewed-by: Alexander Dahl <post at lespocky.de>

Greets
Alex

-- 
/"\ ASCII RIBBON | »With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.«
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20211026/3734b8cc/attachment-0001.asc>


More information about the buildroot mailing list