代码拉取完成,页面将自动刷新
all:
ifeq ($(and $(DISTRIBUTION),$(DISTRIB_RELEASE),$(DISTRIB_TYPE),$(FIRE_BOARD),$(LINUX),$(UBOOT),$(INSTALL_TYPE)),)
$(call help_message)
else
@./scripts/create_image.sh
endif
define help_message
@echo "You should setup environment first."
@echo "Run 'source env/setenv.sh' to setup environment."
endef
kernel:
ifeq ($(and $(DISTRIBUTION),$(DISTRIB_RELEASE),$(DISTRIB_TYPE),$(FIRE_BOARD),$(LINUX),$(UBOOT),$(INSTALL_TYPE)),)
$(call help_message)
else
@./scripts/build.sh linux
endif
uboot:
ifeq ($(and $(DISTRIBUTION),$(DISTRIB_RELEASE),$(DISTRIB_TYPE),$(FIRE_BOARD),$(LINUX),$(UBOOT),$(INSTALL_TYPE)),)
$(call help_message)
else
@./scripts/build.sh u-boot
endif
kernel-deb:
ifeq ($(and $(DISTRIBUTION),$(DISTRIB_RELEASE),$(DISTRIB_TYPE),$(FIRE_BOARD),$(LINUX),$(UBOOT),$(INSTALL_TYPE)),)
$(call help_message)
else
@./scripts/build.sh linux-deb
endif
tfa:
ifeq ($(and $(DISTRIBUTION),$(DISTRIB_RELEASE),$(DISTRIB_TYPE),$(DISTRIB_ARCH),$(FIRE_BOARD),$(LINUX),$(UBOOT),$(INSTALL_TYPE)),)
$(call help_message)
else
@./scripts/build.sh tfa
endif
info:
@echo ""
@echo "Current environment:"
@echo "==========================================="
@echo
@echo "#FIRE_BOARD=${FIRE_BOARD}"
@echo "#LINUX=${LINUX}"
@echo "#UBOOT=${UBOOT}"
@echo "#DISTRIBUTION=${DISTRIBUTION}"
@echo "#DISTRIB_RELEASE=${DISTRIB_RELEASE}"
@echo "#DISTRIB_TYPE=${DISTRIB_TYPE}"
@echo "#INSTALL_TYPE=${INSTALL_TYPE}"
@echo
@echo "==========================================="
@echo ""
help:
@echo ""
@echo "fire scripts help messages:"
@echo ""
@echo "TARGET:"
@echo " info - Display current environment."
@echo " all - Create image according to environment."
@echo " uboot - Build u-boot."
@echo " kernel - Build linux kernel."
@echo " kernel-deb - Build linux kernel."
@echo ""
@echo "OPTIONS:"
@echo " DOWNLOAD_MIRROR=china - Improve download speed for Chinese users."
@echo " FORCE_UPDATE=enable - Force everything to recompile."
@echo ""
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。