You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
################################################################################
|
|
#
|
|
# crosstools
|
|
#
|
|
################################################################################
|
|
|
|
CROSSTOOL_BOXSERIES = \
|
|
hd1 hd2 \
|
|
hd5x hd6x \
|
|
vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse \
|
|
vuduo
|
|
|
|
crosstool: build-clean deps-clean crosstool-ng crosstool-backup
|
|
|
|
crosstools:
|
|
$(foreach boxseries,$(CROSSTOOL_BOXSERIES),\
|
|
make BOXSERIES=$(boxseries) crosstool$(sep))
|
|
|
|
crosstools-renew:
|
|
$(foreach boxseries,$(CROSSTOOL_BOXSERIES),\
|
|
make BOXSERIES=$(boxseries) ccache-clean$(sep))
|
|
make host-clean
|
|
make static-base-clean
|
|
make cross-base-clean
|
|
make crosstools
|
|
make clean
|
|
|
|
################################################################################
|
|
#
|
|
# crosstool-backup
|
|
#
|
|
################################################################################
|
|
|
|
CROSSTOOL_BACKUP = $(DL_DIR)/crosstool-ng-$(TARGET_ARCH)-$(TARGET_OS)-$(KERNEL_VERSION)-backup.tar.gz
|
|
|
|
$(CROSSTOOL_BACKUP):
|
|
$(call draw_line);
|
|
@echo "CROSSTOOL_BACKUP does not exist. You probably need to run 'make crosstool-backup' first."
|
|
$(call draw_line);
|
|
@false
|
|
|
|
crosstool-backup:
|
|
tar czvf $(CROSSTOOL_BACKUP) -C $(CROSS_DIR) .
|
|
|
|
crosstool-restore: $(CROSSTOOL_BACKUP) cross-clean
|
|
$(INSTALL) -d $(CROSS_DIR)
|
|
tar xzvf $(CROSSTOOL_BACKUP) -C $(CROSS_DIR)
|
|
|