procd: make rpcd dependency conditional
authorFelix Fietkau <nbd@nbd.name>
Thu, 4 Nov 2021 15:54:29 +0000 (16:54 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 4 Nov 2021 15:54:31 +0000 (16:54 +0100)
Avoids building rpcd when not needed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/system/procd/Makefile

index 3d76f6422df475d9c63ad11a04f1dde6c9a75e7a..b831f866395720726a7ec760e679fb075f71a475 100644 (file)
@@ -89,7 +89,7 @@ endef
 define Package/uxc
   SECTION:=base
   CATEGORY:=Base system
-  DEPENDS:=+procd-ujail +libubus +libubox +libblobmsg-json +blockd +rpcd
+  DEPENDS:=+procd-ujail +libubus +libubox +libblobmsg-json +blockd +PACKAGE_uxc:rpcd
   TITLE:=OpenWrt container management
   MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 endef