diff --git a/make/image-update.mk b/make/image-update.mk index ea2a55ae..fc96f4f6 100644 --- a/make/image-update.mk +++ b/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 diff --git a/make/ni.mk b/make/ni.mk index f9b8914f..e409c24d 100644 --- a/make/ni.mk +++ b/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 diff --git a/make/prerequisites.mk b/make/prerequisites.mk index 0541abf8..85f225f8 100644 --- a/make/prerequisites.mk +++ b/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