Browse Source

- rename some makefiles

master
vanhofen 4 years ago
parent
commit
c06d78008f
  1. 18
      Makefile
  2. 0
      make/buildsystem-bootstrap.mk
  3. 0
      make/buildsystem-clean.mk
  4. 19
      make/buildsystem-helpers.mk
  5. 0
      make/buildsystem-prerequisites.mk
  6. 0
      make/buildsystem-update.mk
  7. 0
      make/flash-images.mk
  8. 0
      make/flash-updates.mk
  9. 19
      make/ni.mk
  10. 0
      make/target-neutrino-plugins.mk
  11. 0
      make/target-neutrino.mk

18
Makefile

@ -149,17 +149,18 @@ help:
-include internal/internal.mk
include make/bootstrap.mk
include make/clean.mk
include make/buildsystem-bootstrap.mk
include make/buildsystem-clean.mk
include make/buildsystem-helpers.mk
include make/buildsystem-prerequisites.mk
include make/buildsystem-update.mk
include make/crosstool.mk
include make/helpers.mk
include make/image-updates.mk
include make/images.mk
include make/flash-updates.mk
include make/flash-images.mk
include make/linux-kernel.mk
include make/linux-drivers.mk
include make/neutrino.mk
include make/neutrino-plugins.mk
include make/prerequisites.mk
include make/target-neutrino.mk
include make/target-neutrino-plugins.mk
include make/target-blobs.mk
include make/target-development.mk
include make/target-ffmpeg$(if $(filter $(BOXTYPE),coolstream),-coolstream).mk
@ -173,7 +174,6 @@ include make/target-scripts.mk
include make/target-tools.mk
include make/target-tools-unused.mk
include make/host-tools.mk
include make/update.mk
include make/ni.mk

0
make/bootstrap.mk → make/buildsystem-bootstrap.mk

0
make/clean.mk → make/buildsystem-clean.mk

19
make/helpers.mk → make/buildsystem-helpers.mk

@ -216,6 +216,25 @@ patches-info:
# -----------------------------------------------------------------------------
# Create reversed changelog using git log --reverse.
# Remove duplicated commits and re-reverse the changelog using awk.
# This keeps the original commit and removes all picked duplicates.
define make-changelog
git log --reverse --pretty=oneline --no-merges --abbrev-commit | \
awk '!seen[substr($$0,12)]++' | \
awk '{a[i++]=$$0} END {for (j=i-1; j>=0;) print a[j--]}'
endef
changelogs:
$(call make-changelog) > $(STAGING_DIR)/changelog-buildsystem
$(CD) $(SOURCE_DIR)/$(NI-NEUTRINO); \
$(call make-changelog) > $(STAGING_DIR)/changelog-neutrino
$(CD) $(SOURCE_DIR)/$(NI-LIBSTB-HAL); \
$(call make-changelog) > $(STAGING_DIR)/changelog-libstb-hal
# -----------------------------------------------------------------------------
PHONY += archives-list
PHONY += archives-info
PHONY += patches-info
PHONY += changelogs

0
make/prerequisites.mk → make/buildsystem-prerequisites.mk

0
make/update.mk → make/buildsystem-update.mk

0
make/images.mk → make/flash-images.mk

0
make/image-updates.mk → make/flash-updates.mk

19
make/ni.mk

@ -101,25 +101,6 @@ endif
# -----------------------------------------------------------------------------
# Create reversed changelog using git log --reverse.
# Remove duplicated commits and re-reverse the changelog using awk.
# This keeps the original commit and removes all picked duplicates.
define make-changelog
git log --reverse --pretty=oneline --no-merges --abbrev-commit | \
awk '!seen[substr($$0,12)]++' | \
awk '{a[i++]=$$0} END {for (j=i-1; j>=0;) print a[j--]}'
endef
changelogs:
$(call make-changelog) > $(STAGING_DIR)/changelog-buildsystem
$(CD) $(SOURCE_DIR)/$(NI-NEUTRINO); \
$(call make-changelog) > $(STAGING_DIR)/changelog-neutrino
$(CD) $(SOURCE_DIR)/$(NI-LIBSTB-HAL); \
$(call make-changelog) > $(STAGING_DIR)/changelog-libstb-hal
# -----------------------------------------------------------------------------
PHONY += images ni-images
PHONY += personalized-image
PHONY += image ni-image
PHONY += changelogs

0
make/neutrino-plugins.mk → make/target-neutrino-plugins.mk

0
make/neutrino.mk → make/target-neutrino.mk

Loading…
Cancel
Save