Просмотр исходного кода

package: usbgadget: Fix subpackage dependencies

Currently if a target wants to use acm or ncm gadget config,
they need to select both usbgadget and the config package
such as usbgadget-acm.

It's better if the target just select usbgadget-acm and get
all dependencies satisfied.

Adding a dependency using +usbgadget fixes this.

Link: http://patchwork.ozlabs.org/project/openwrt/patch/[email protected]/
Reviewed-by: Chuanhong Guo <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Linus Walleij 9 месяцев назад
Родитель
Сommit
cb650214ba
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      package/utils/usbgadget/Makefile

+ 1 - 1
package/utils/usbgadget/Makefile

@@ -39,7 +39,7 @@ define GadgetPreset
     SECTION:=utils
     CATEGORY:=Utilities
     TITLE+= $(2) gadget preset
-    DEPENDS+= $(3)
+    DEPENDS+= +usbgadget $(3)
   endef
 
   define Package/$(PKG_NAME)-$(1)/description