Skip to content

Commit

Permalink
Add NO_SERVICE_SHORTCUT switch for non web protocol
Browse files Browse the repository at this point in the history
When service protocol is not browsable, this switch allow
to disable UI shortcut icon generation for service.
  • Loading branch information
ymartin59 committed Dec 4, 2017
1 parent 09dac44 commit 05d8159
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mk/spksrc.service.mk
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ endif
# Generate DSM UI configuration
ifneq ($(strip $(SPK_ICON)),)
ifneq ($(strip $(SERVICE_PORT)),)
ifeq ($(strip $(NO_SERVICE_SHORTCUT)),)
# Set some defaults
ifeq ($(strip $(SERVICE_URL)),)
SERVICE_URL=/
Expand Down Expand Up @@ -199,6 +200,7 @@ $(STAGING_DIR)/$(DSM_UI_DIR)/config:
SERVICE_FILES += $(STAGING_DIR)/$(DSM_UI_DIR)/config
endif
endif
endif

service_target: $(PRE_SERVICE_TARGET) $(SERVICE_FILES)

Expand Down

0 comments on commit 05d8159

Please sign in to comment.