Skip to content

Commit

Permalink
external/mtp-responder: Add config for events ObjectAdded and ObjectR…
Browse files Browse the repository at this point in the history
…emoved

Signed-off-by: wangjianyu3 <[email protected]>
  • Loading branch information
JianyuWang0623 committed Jan 6, 2025
1 parent f5d78d3 commit 4840a76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mtp-responder/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,8 @@ config MTP_RESPONDER_OP_COPYOBJECT_ENABLE
bool "Enable operation CopyObject"
default n

config MTP_RESPONDER_EVENT_OBJECTADDDELETE
bool "Enable ObjectAdded/ObjectRemoved events"
default n

endif
4 changes: 4 additions & 0 deletions mtp-responder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ ifdef CONFIG_MTP_RESPONDER_ICON_PATH
CFLAGS += -DMTP_DEVICE_ICON=CONFIG_MTP_RESPONDER_ICON_PATH
endif

ifdef CONFIG_MTP_RESPONDER_EVENT_OBJECTADDDELETE
CFLAGS += -DMTP_SUPPORT_OBJECTADDDELETE_EVENT
endif

CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/external/mtp-responder/include
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/external/mtp-responder/mtp-responder/include
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/external/glib/glib
Expand Down

0 comments on commit 4840a76

Please sign in to comment.