Browse Source

- move update wrapper-targets to image-update.mk

master
vanhofen 6 years ago
parent
commit
7e9e750e75
  1. 34
      make/image-update.mk
  2. 40
      make/ni.mk
  3. 4
      make/prerequisites.mk

34
make/image-update.mk

@ -3,6 +3,35 @@
#
# -----------------------------------------------------------------------------
BOXSERIES_UPDATE = hd2 hd51
ifneq ($(DEBUG), yes)
BOXSERIES_UPDATE += hd1
endif
neutrino-update \
ni-neutrino-update:
make u-neutrino
neutrino-updates \
ni-neutrino-updates:
for boxseries in $(BOXSERIES_UPDATE); do \
$(MAKE) BOXSERIES=$${boxseries} clean neutrino-update || exit; \
done;
make clean
neutrino-full-update \
ni-neutrino-full-update:
make u-neutrino-full
neutrino-full-updates \
ni-neutrino-full-updates:
for boxseries in $(BOXSERIES_UPDATE); do \
$(MAKE) BOXSERIES=$${boxseries} clean neutrino-full-update || exit; \
done;
make clean
# -----------------------------------------------------------------------------
u-neutrino: neutrino-clean
$(MAKE) u-init
echo "killall start_neutrino neutrino; sleep 5" >> $(PREINSTALL_SH)
@ -166,6 +195,11 @@ u-update-bin:
# -----------------------------------------------------------------------------
PHONY += neutrino-update ni-neutrino-update
PHONY += neutrino-updates ni-neutrino-updates
PHONY += neutrino-full-update ni-neutrino-full-update
PHONY += neutrino-full-updates ni-neutrino-full-updates
PHONY += u-neutrino
PHONY += u-neutrino-full
PHONY += u-update.urls

40
make/ni.mk

@ -1,45 +1,13 @@
#
# custom ni-makefile - just a collection of targets
# makefile to build ni-images; just a collection of targets
#
# -----------------------------------------------------------------------------
init: preqs crosstools bootstrap
# -- wrapper-targets for Neutrino-Updates -------------------------------------
BOXSERIES_UPDATE = hd2 hd51
ifneq ($(DEBUG), yes)
BOXSERIES_UPDATE += hd1
endif
neutrino-update \
ni-neutrino-update:
make u-neutrino
neutrino-updates \
ni-neutrino-updates:
for boxseries in $(BOXSERIES_UPDATE); do \
$(MAKE) BOXSERIES=$${boxseries} clean neutrino-update || exit; \
done;
make clean
neutrino-full-update \
ni-neutrino-full-update:
make u-neutrino-full
neutrino-full-updates \
ni-neutrino-full-updates:
for boxseries in $(BOXSERIES_UPDATE); do \
$(MAKE) BOXSERIES=$${boxseries} clean neutrino-full-update || exit; \
done;
make clean
# -----------------------------------------------------------------------------
BOXMODEL_IMAGE = apollo kronos kronos_v2 hd51
ifneq ($(DEBUG), yes)
BOXMODEL_IMAGE += nevis
endif
images \
ni-images:
for boxmodel in $(BOXMODEL_IMAGE); do \
@ -140,10 +108,6 @@ changelogs:
# -----------------------------------------------------------------------------
PHONY += init
PHONY += neutrino-update ni-neutrino-update
PHONY += neutrino-updates ni-neutrino-updates
PHONY += neutrino-full-update ni-neutrino-full-update
PHONY += neutrino-full-updates ni-neutrino-full-updates
PHONY += images ni-images
PHONY += personalized-image
PHONY += image ni-image

4
make/prerequisites.mk

@ -3,6 +3,10 @@
#
# -----------------------------------------------------------------------------
init: preqs crosstools bootstrap
# -----------------------------------------------------------------------------
TOOLCHECK = find-git find-svn find-gzip find-bzip2 find-patch find-gawk
TOOLCHECK += find-makeinfo find-automake find-gcc find-libtool find-bison
TOOLCHECK += find-yacc find-flex find-tic find-pkg-config find-help2man

Loading…
Cancel
Save