📄 makefile
字号:
#*****************************************************************************## MAKEFILE - Rules for building the software update code.## Copyright (c) 2001 Cirrus Logic, Inc.##*****************************************************************************## The location of the root directory relative to this directory.#ROOT = ..## Include the automatically generated make.inc.#-include $(ROOT)/make.inc## The name of the image that we are building.#TARGET = bootcode## The set of object files that comprise the software update code.#OBJS = mmu.o \ update.o \ usb.o \ vectors.o## The set of library files required to build the software update code.#LIBS =## If the hardware uses Intel B3 FLASH, add the Intel B3 FLASH programming code# to the build.#ifdef FLASH_INTEL_B3OBJS += intelb3.oendif## If the hardware uses Intel C3 FLASH, add the Intel C3 FLASH programming code# to the build.#ifdef FLASH_INTEL_C3OBJS += intelc3.oendif## If the hardware uses Intel J3 (Strata) FLASH, add the Intel J3 FLASH# programming code to the build.#ifdef FLASH_INTEL_J3OBJS += intelj3.oendif## If the user interface is the LCD, then add the LCD user interface code to the# build.#ifdef UI_IS_LCDOBJS += uilcd.oendif## If the user interface is the serial port, then add the serial port user# interface code to the build.#ifdef UI_IS_SERIAL_PORTOBJS += uiser.oendif## The read-only and read-write base for the image, and the area that should be# placed first in the image.#ROBASE = 0x00100000RWBASE = 0x00104000FIRST = vectors.o(Text)## The set of defines that should be include on the command line of the compiler# and assembler.#DEFINES = $(BOARD) $(CROSSTOOLS)## Include the common makefile definitions.#include $(ROOT)/makedefs## The default target.#.PHONY: defaultdefault: $(TARGET).rom## A rule to build the usb.c file from the player.#usb.o: ../player/usb.c $(CC) $(CFLAGS) -c ../player/usb.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -