Browse Source

- neutrino: introduce neutrino-dirs.mk

master
vanhofen 2 years ago
parent
commit
9c9fb650f1
  1. 23
      make/environment-target.mk
  2. 26
      package/neutrino/neutrino-dirs.mk

23
make/environment-target.mk

@ -97,27 +97,4 @@ $(foreach dir,$(dir_VARIABLES),$(eval REMOVE_$(dir) = $(REMOVE_DIR)$($(dir))))
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
SHARE_FLEX = $(TARGET_datadir)/tuxbox/neutrino/flex
SHARE_ICONS = $(TARGET_datadir)/tuxbox/neutrino/icons
SHARE_LOGOS = $(TARGET_datadir)/tuxbox/neutrino/icons/logo
SHARE_PLUGINS = $(TARGET_datadir)/tuxbox/neutrino/plugins
SHARE_THEMES = $(TARGET_datadir)/tuxbox/neutrino/themes
SHARE_WEBRADIO = $(TARGET_datadir)/tuxbox/neutrino/webradio
SHARE_WEBTV = $(TARGET_datadir)/tuxbox/neutrino/webtv
VAR_CONFIG = $(TARGET_localstatedir)/tuxbox/config
VAR_PLUGINS = $(TARGET_localstatedir)/tuxbox/plugins
$(SHARE_FLEX) \
$(SHARE_ICONS) \
$(SHARE_LOGOS) \
$(SHARE_PLUGINS) \
$(SHARE_THEMES) \
$(SHARE_WEBRADIO) \
$(SHARE_WEBTV) \
$(VAR_CONFIG) \
$(VAR_PLUGINS) : | $(TARGET_DIR)
$(INSTALL) -d $(@)
# -----------------------------------------------------------------------------
PERSISTENT_VAR_PARTITION = $(if $(filter $(BOXMODEL),apollo shiner kronos kronos_v2),yes,no) PERSISTENT_VAR_PARTITION = $(if $(filter $(BOXMODEL),apollo shiner kronos kronos_v2),yes,no)

26
package/neutrino/neutrino-dirs.mk

@ -0,0 +1,26 @@
################################################################################
#
# neutrino-dirs
#
################################################################################
SHARE_FLEX = $(TARGET_datadir)/tuxbox/neutrino/flex
SHARE_ICONS = $(TARGET_datadir)/tuxbox/neutrino/icons
SHARE_LOGOS = $(TARGET_datadir)/tuxbox/neutrino/icons/logo
SHARE_PLUGINS = $(TARGET_datadir)/tuxbox/neutrino/plugins
SHARE_THEMES = $(TARGET_datadir)/tuxbox/neutrino/themes
SHARE_WEBRADIO = $(TARGET_datadir)/tuxbox/neutrino/webradio
SHARE_WEBTV = $(TARGET_datadir)/tuxbox/neutrino/webtv
VAR_CONFIG = $(TARGET_localstatedir)/tuxbox/config
VAR_PLUGINS = $(TARGET_localstatedir)/tuxbox/plugins
$(SHARE_FLEX) \
$(SHARE_ICONS) \
$(SHARE_LOGOS) \
$(SHARE_PLUGINS) \
$(SHARE_THEMES) \
$(SHARE_WEBRADIO) \
$(SHARE_WEBTV) \
$(VAR_CONFIG) \
$(VAR_PLUGINS) : | $(TARGET_DIR)
$(INSTALL) -d $(@)
Loading…
Cancel
Save