mirror of
https://github.com/Heleguo/lede.git
synced 2025-12-18 20:01:51 +00:00
package: usbgadget: define conffile
The /etc/config/usbgadget file is a conffile, so specify it as such. Reviewed-by: Chuanhong Guo <gch981213@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
e0faf71ce5
commit
69ea00d8f2
@ -12,10 +12,14 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/$(PKG_NAME)
|
define Package/$(PKG_NAME)
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=@USB_GADGET_SUPPORT +kmod-usb-gadget +kmod-usb-lib-composite
|
DEPENDS:=@USB_GADGET_SUPPORT +kmod-usb-gadget +kmod-fs-configfs +kmod-usb-lib-composite
|
||||||
TITLE:=init script to create USB gadgets
|
TITLE:=init script to create USB gadgets
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/$(PKG_NAME)/conffiles
|
||||||
|
/etc/config/usbgadget
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -35,7 +39,7 @@ define GadgetPreset
|
|||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
TITLE+= $(2) gadget preset
|
TITLE+= $(2) gadget preset
|
||||||
DEPENDS+= $(3)
|
DEPENDS+= +usbgadget $(3)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)-$(1)/description
|
define Package/$(PKG_NAME)-$(1)/description
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user