浏览代码

package/mpd: fix reversed logic in tcp disable

In commit 54b9008d482923131191da75f09966483f4ecac1 ("package/mpd: bump
to version 0.21.11"), mpd was migrated from using the autotools build
system to the meson build system.

As part of this, the BR2_PACKAGE_MPD_TCP was incorrectly modified,
leading BR2_PACKAGE_MPD_TCP disabled to actually enable TCP, and
BR2_PACKAGE_MPD_TCP enabled to not explicitly enable TCP support.

This commit fixes that by handling this option in the common way.

Signed-off-by: Andreas Ziegler <br015@umbiko.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit be08ba35698991ca0f42c7c11c70690caab3e378)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Andreas Ziegler 2 年之前
父节点
当前提交
20ed5635f1
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      package/mpd/mpd.mk

+ 3 - 1
package/mpd/mpd.mk

@@ -285,8 +285,10 @@ else
 MPD_CONF_OPTS += -Dsqlite=disabled
 MPD_CONF_OPTS += -Dsqlite=disabled
 endif
 endif
 
 
-ifneq ($(BR2_PACKAGE_MPD_TCP),y)
+ifeq ($(BR2_PACKAGE_MPD_TCP),y)
 MPD_CONF_OPTS += -Dtcp=true
 MPD_CONF_OPTS += -Dtcp=true
+else
+MPD_CONF_OPTS += -Dtcp=false
 endif
 endif
 
 
 ifeq ($(BR2_PACKAGE_MPD_TREMOR),y)
 ifeq ($(BR2_PACKAGE_MPD_TREMOR),y)