makefile

来自「嵌入式系统 EP93xx处理器」· 代码 · 共 57 行

TXT
57
字号
#*****************************************************************************## MAKEFILE - Builds the first stage boot code.## Copyright (c) 2006 Cirrus Logic, Inc.##*****************************************************************************## Choose the tools to use based on the host OS.#ifeq ("$(OS)","Windows_NT")CROSSTOOLS = adsNATIVETOOLS = msvcelseCROSSTOOLS = gccNATIVETOOLS = gccendif## The name of the image that we are building.#TARGET = boot## The set of object files that comprise the download utility.#OBJS = boot.o## The read-only base for the image.#ROBASE = 0x80014000## Include the common makefile definitions.#include makedefs## The default rule, which builds the download utility.#.PHONY: defaultdefault: boot.h## A rule to create the BOOT code header file from the binary image.#boot.h: $(TARGET).rom	od -t u1 -v $(TARGET).rom | awk -f mkarray.awk > boot.h## A rule to remove the build products.#clean::	@rm -f boot.h

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?