📄 makefile
字号:
#*****************************************************************************## 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -