vanhofen
6 years ago
30 changed files with 258 additions and 188 deletions
@ -0,0 +1,48 @@ |
|||||
|
#
|
||||
|
# set up image environment for other makefiles
|
||||
|
#
|
||||
|
# -----------------------------------------------------------------------------
|
||||
|
|
||||
|
# Release date
|
||||
|
IMAGE_DATE = $(shell date +%Y%m%d%H%M) |
||||
|
|
||||
|
# Version Strings
|
||||
|
IMAGE_VERSION = 350 |
||||
|
IMAGE_PREFIX = ni$(IMAGE_VERSION)-$(IMAGE_DATE) |
||||
|
IMAGE_SUFFIX = $(BOXTYPE_SC)-$(BOXMODEL) |
||||
|
|
||||
|
# Image-Type
|
||||
|
# Release = 0
|
||||
|
# Beta = 1
|
||||
|
# Nightly = 2
|
||||
|
# Selfmade = 9
|
||||
|
IMAGE_TYPE ?= 9 |
||||
|
|
||||
|
# JFFS2-Summary
|
||||
|
IMAGE_SUMMARIZE = yes |
||||
|
|
||||
|
# newimage-flag
|
||||
|
IMAGE_NEW = no |
||||
|
|
||||
|
# Beta/Release Server
|
||||
|
NI-SERVER = http://neutrino-images.de/neutrino-images |
||||
|
ifeq ($(IMAGE_TYPE), 0) |
||||
|
# Release |
||||
|
NI-SUBDIR = release |
||||
|
IMAGE_TYPE_STRING = release |
||||
|
else ifeq ($(IMAGE_TYPE), 1) |
||||
|
# Beta |
||||
|
NI-SUBDIR = beta |
||||
|
IMAGE_TYPE_STRING = beta |
||||
|
else ifeq ($(IMAGE_TYPE), 2) |
||||
|
# Nightly |
||||
|
NI-SUBDIR = nightly |
||||
|
IMAGE_TYPE_STRING = nightly |
||||
|
else |
||||
|
# Selfmade; just for compatibility; not needed for our builds |
||||
|
NI-SUBDIR = selfmade |
||||
|
IMAGE_TYPE_STRING = selfmade |
||||
|
endif |
||||
|
|
||||
|
IMAGE_URL = $(NI-SERVER)/$(NI-SUBDIR) |
||||
|
IMAGE_VERSION_STRING = $(shell echo $(IMAGE_VERSION) | sed -e :a -e 's/\(.*[0-9]\)\([0-9]\{2\}\)/\1.\2/;ta') |
@ -0,0 +1,39 @@ |
|||||
|
#
|
||||
|
# set up target environment for other makefiles
|
||||
|
#
|
||||
|
# -----------------------------------------------------------------------------
|
||||
|
|
||||
|
BIN = $(TARGET_DIR)/bin |
||||
|
ETCINITD = $(TARGET_DIR)/etc/init.d |
||||
|
LIBPLUGINS = $(TARGET_DIR)/lib/tuxbox/plugins |
||||
|
SBIN = $(TARGET_DIR)/sbin |
||||
|
SHAREFLEX = $(TARGET_DIR)/share/tuxbox/neutrino/flex |
||||
|
SHAREICONS = $(TARGET_DIR)/share/tuxbox/neutrino/icons |
||||
|
SHAREPLUGINS = $(TARGET_DIR)/share/tuxbox/neutrino/plugins |
||||
|
SHARETHEMES = $(TARGET_DIR)/share/tuxbox/neutrino/themes |
||||
|
SHAREWEBRADIO = $(TARGET_DIR)/share/tuxbox/neutrino/webradio |
||||
|
SHAREWEBTV = $(TARGET_DIR)/share/tuxbox/neutrino/webtv |
||||
|
VARCONFIG = $(TARGET_DIR)/var/tuxbox/config |
||||
|
VARINITD = $(TARGET_DIR)/var/etc/init.d |
||||
|
VARPLUGINS = $(TARGET_DIR)/var/tuxbox/plugins |
||||
|
|
||||
|
$(BIN) \ |
||||
|
$(ETCINITD) \ |
||||
|
$(LIBPLUGINS) \ |
||||
|
$(SBIN) \ |
||||
|
$(SHAREFLEX) \ |
||||
|
$(SHAREICONS) \ |
||||
|
$(SHAREPLUGINS) \ |
||||
|
$(SHARETHEMES) \ |
||||
|
$(SHAREWEBRADIO) \ |
||||
|
$(SHAREWEBTV) \ |
||||
|
$(VARCONFIG) \ |
||||
|
$(VARINITD) \ |
||||
|
$(VARPLUGINS) : | $(TARGET_DIR) |
||||
|
mkdir -p $@ |
||||
|
|
||||
|
# -----------------------------------------------------------------------------
|
||||
|
|
||||
|
# ca-certificates
|
||||
|
CA-BUNDLE = ca-certificates.crt |
||||
|
CA-BUNDLE_DIR = /etc/ssl/certs |
@ -0,0 +1,38 @@ |
|||||
|
#
|
||||
|
# set up update environment for other makefiles
|
||||
|
#
|
||||
|
# -----------------------------------------------------------------------------
|
||||
|
|
||||
|
UPDATE_TEMP_DIR = $(BUILD_TMP)/temp_inst |
||||
|
|
||||
|
UPDATE_INST_DIR = $(UPDATE_TEMP_DIR)/inst |
||||
|
UPDATE_CTRL_DIR = $(UPDATE_TEMP_DIR)/ctrl |
||||
|
|
||||
|
POSTINSTALL_SH = $(UPDATE_CTRL_DIR)/postinstall.sh |
||||
|
PREINSTALL_SH = $(UPDATE_CTRL_DIR)/preinstall.sh |
||||
|
|
||||
|
# defaults for Neutrino-Update
|
||||
|
UPDATE_DATE = $(shell date +%Y%m%d%H%M) |
||||
|
UPDATE_VERSION = $(IMAGE_VERSION) |
||||
|
UPDATE_VERSION_STRING = $(IMAGE_VERSION_STRING) |
||||
|
|
||||
|
UPDATE_PREFIX = $(IMAGE_PREFIX) |
||||
|
UPDATE_SUFFIX = $(BOXTYPE_SC)-$(BOXSERIES)-update |
||||
|
|
||||
|
UPDATE_NAME = $(UPDATE_PREFIX)-$(UPDATE_SUFFIX) |
||||
|
UPDATE_DESC = "Neutrino [$(BOXTYPE_SC)][$(BOXSERIES)] Update" |
||||
|
UPDATE_TYPE = U |
||||
|
# Release = 0
|
||||
|
# Beta = 1
|
||||
|
# Nightly = 2
|
||||
|
# Selfmade = 9
|
||||
|
# Locale = L
|
||||
|
# Settings = S
|
||||
|
# Update = U
|
||||
|
# Addon = A
|
||||
|
# Text = T
|
||||
|
|
||||
|
UPDATE_URL = $(NI-SERVER)/$(NI-SUBDIR) |
||||
|
UPDATE_MD5FILE = update.txt |
||||
|
UPDATE_MD5FILE-BOXSERIES= update-$(BOXTYPE_SC)-$(BOXSERIES).txt |
||||
|
UPDATE_MD5FILE-BOXMODEL = update-$(BOXTYPE_SC)-$(BOXMODEL).txt |
Loading…
Reference in new issue