EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
helloworld.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS) ) t' B- C3 s/ |: B# j2 T
@Echo 'Building target: $@' 4 Y% b _# {8 G" i9 J
@echo 'Invoking: ARM v7 gcc linker'
+ s3 Q2 L: [: warm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -Wl,-build-id=none -specs=Xilinx.spec -Wl,-T -Wl,../src/lscript.ld -L../../helloworld_bsp/ps7_cortexa9_0/lib -o "helloworld.elf" $(OBJS) $(USER_OBJS) $(LIBS)
3 Y9 ] Y- @: z3 w! f% z@echo 'Finished building target: $@'
3 m9 z ?, L8 s& \4 {- {& X@echo ' ' 其中依赖的变量“OBJS”“USER_OBJS”为空的,导致没有编译出*.elf文件USER_OBJS :=LIBS := -Wl,--start-group,-lxil,-lgcc,-lc,--end-group LD_SRCS := " \5 l( x6 F6 Q0 B5 s; h
OBJ_SRCS := + C& s; _4 Y7 ]
S_SRCS := 7 J; m9 v3 Y% W9 f
C_SRCS :=
' @; N$ V( s0 k. {6 JS_UPPER_SRCS := 0 w9 [3 J: ]7 |0 m* q( _" Z
O_SRCS := 6 u5 v" k) G' M4 ]! z
EXECUTABLES := % v6 h3 \1 [: z1 G. I
OBJS := 4 z7 X1 ^4 m8 m$ n' Q* h
S_UPPER_DEPS :=
% @7 U9 V! C% {# pC_DEPS := * p, B/ F! m4 B( K$ ^ q; G
ELFSIZE := Every subdirectory with source files must be described hereSUBDIRS := \& z& s( i* ^8 k" s) T1 Y+ k
src \ 6 T z) |% {! k* M& C9 S5 h
|