📄 makefile
字号:
#---------------------------------------------------------------------------------# TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION## Property of Texas Instruments# For Unrestricted Internal# Use Only Unauthorized reproduction and/or distribution is strictly prohibited.# This product is protected under copyright law and trade secret law as an# unpublished work.# Created 1999, (C) Copyright 1999 Texas Instruments. All rights reserved.## Filename : makefile## Description : makefile for building the arm9.lib library## Project : gsm perseus mpu## Author : Francois Reygagne# modified by L.Lucido (adaptation to wcssoft)##-----------------------------------------------------------------------------------#This directive tells clearmake to perform "incremental CR merging" for this target;#that is, to merge the dependencies listed in the previous CR with those of the latest build.#In this way, no information is lost from the CR.INCREMENTAL_TARGET:%.lib#--------------------------------------------------------------------# PARAMETERS DEDICATED TO THE PROJECT --# ARE SET BY THE INVOKER APPLI MAKEFILE --# THEIR VALUES ARE JUST GIVEN AS EXAMPLE FOR BETTER UNDERSTANDING --#--------------------------------------------------------------------# Nominal voltageCURVOLTAGE = V14#Subdirectory including library sources or objectsSUBLIB_DIR=arm9_lib#Subdirectory containing include sourcesSUBLIB_INC=arm9_inc#File Name of the library without its pathRELATIVE_LIBNAME = arm9.lib#generic makefile rules (also known as suffix rules),#for building the ARM Satustar libraryinclude $(TEST_ROOT)/system/make_core/makefile_arm9.lib.core#------------------------------------------------------# TARGET BUILT --#------------------------------------------------------default: $(OBJECTS) $(LIB_NAME)#Object modules built by this makefile are standard, sharable derived objects;#typically, as the libraries' sources stabilize over time,#most builds of target *.lib will reuse or wink-in most of the object modulesall: $(OBJECTS) $(LIB_NAME)SOURCES_TEMP = \ 2rhea.c\ 2rheatest.c\ accesscp15.asm\ api.c\ boot_a9.c\ clkrst.c\ des3des.c\ dsp_gpio.c\ gdma.c\ gdmatest.c\ msi2c.c\ init_cs.c\ inth.c\ inth2.c\ lcd.c\ mailbox.c\ mcbsp1.c\ memory.c\ mif.c\ miftest.c\ mmcsd.c\ mmu.c\ ms.c\ multiple.asm\ overlay.asm\ pwt.c\ result.c\ rheaswitch.c\ sdma.c\ str_ldr.asm\ swap.asm\ timer.c\ timer32_a9.c\ ulpd.c\ usb_otg_ctrl.c\ usb_otg_hhc.c\ usb_otg_w2fc.c\ uwire.c\ w_16.asm\ w_32.asm\ w_8.asm\ w_8_16_32.asm\ lcd_omap32.c\ gdma_omap32.c\ gdmatest_omap32.c \ dspstart.c \ testbench.c \ emifs.c \ arm9_deep_sleep.asm \ rng.c\ vlynq2ocp.c\ gea.c\ tpu.c\ timebase.c\ elcd.c\ io_configuration.c\ digrf_if.c\ kbd_if.c\ led_common.asm\ led_bootled.asm\ mcsi.c\ cipher_a9.c\ bcm.c\ pka.c\ led_testbench.c\ configuration.c\ aes.c\ neptune_frame_buffer.c\ ssw.c\ mcbsp_rf.c\ CAM1RegTst.c\ CAMC1RegTst.c\ CAMCRegAcc.c\ EASI.c\ CAMCOR.c\ frame_counter.c\ sha1md5.c\ triton_i2c.c\ triton_rtc.c\ triton_test_rtc.c\ triton_inth.c\ triton_pm.c \ triton_reset_register.c \ triton_audio.c \ led_dmledres.c\ led_dmled.c \ led_inth.c # ADPLL ration must be decreased when current voltage is 1.05 Vifeq ($(CURVOLTAGE),V05) SOURCES = $(SOURCES_TEMP)else SOURCES = $(SOURCES_TEMP)endif #`make clean' will run the commands regardless of whether there is a file named `clean'.#skips the implicit rule search for phony targets#This is why declaring a target phony is good for performance,.PHONY: cleanclean: rm -fr $(LIB_NAME) *.map *.aux *.pp *.out $(OBJ_DIR)/*install: $(LIB_NAME)#During a rebuild, the $? macro expands to the list of dependencies#that do not match the current configuration record for the target.#$? is useful in conjunction with ar r to replace, in the archive library,#only those objects that have changed.$(LIB_NAME): $(OBJECTS) $(ARCHIVE) -rvs $(LIB_NAME) $? $(ARCHIVE) -tv $(LIB_NAME) @(echo " $(SOURCES) ") @(echo " raph comment") @(echo " $(CURVOLTAGE) ")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -