forked from gatsby/datalink_repo
75 lines
2.3 KiB
Makefile
75 lines
2.3 KiB
Makefile
################################################################################
|
|
# Automatically-generated file. Do not edit!
|
|
################################################################################
|
|
|
|
-include ../makefile.init
|
|
|
|
CC = /tools/Xilinx/SDK/2019.1/gnu/microblaze/lin/bin/mb-gcc
|
|
|
|
RM := rm -rf
|
|
|
|
# All of the sources participating in the build are defined here
|
|
-include sources.mk
|
|
-include src/util/subdir.mk
|
|
-include src/time_ctrl/subdir.mk
|
|
-include src/phy_ctrl/subdir.mk
|
|
-include src/inter_comm/subdir.mk
|
|
-include src/dev_profile/subdir.mk
|
|
-include src/circ_queue/subdir.mk
|
|
-include src/c2c_bridge/subdir.mk
|
|
-include src/axi_dma/subdir.mk
|
|
-include src/adi_noos/drivers/rf-transceiver/ad9361_reg/subdir.mk
|
|
-include src/adi_noos/drivers/platform/subdir.mk
|
|
-include src/adi_noos/drivers/frequency/ad9516/subdir.mk
|
|
-include src/adi_noos/drivers/axi_core/spi_engine/subdir.mk
|
|
-include src/adi_noos/drivers/axi_core/axi_dmac/subdir.mk
|
|
-include src/adi_noos/drivers/api/subdir.mk
|
|
-include src/subdir.mk
|
|
-include subdir.mk
|
|
-include objects.mk
|
|
|
|
ifneq ($(MAKECMDGOALS),clean)
|
|
ifneq ($(strip $(S_UPPER_DEPS)),)
|
|
-include $(S_UPPER_DEPS)
|
|
endif
|
|
ifneq ($(strip $(C_DEPS)),)
|
|
-include $(C_DEPS)
|
|
endif
|
|
endif
|
|
|
|
-include ../makefile.defs
|
|
|
|
# Add inputs and outputs from these tool invocations to the build variables
|
|
ELFSIZE += \
|
|
datalink814_sp.elf.size \
|
|
|
|
|
|
# All Target
|
|
all: datalink814_sp.elf secondary-outputs
|
|
|
|
# Tool invocations
|
|
datalink814_sp.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS)
|
|
@echo 'Building target: $@'
|
|
@echo 'Invoking: MicroBlaze gcc linker'
|
|
$(CC) -Wl,-T -Wl,../src/lscript.ld -L../bsp/microblaze_ps/lib -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mno-xl-soft-div -mcpu=v11.0 -mno-xl-soft-mul -Wl,--no-relax -Wl,--gc-sections -o "datalink814_sp.elf" $(OBJS) $(USER_OBJS) $(LIBS)
|
|
@echo 'Finished building target: $@'
|
|
@echo ' '
|
|
|
|
datalink814_sp.elf.size: datalink814_sp.elf
|
|
@echo 'Invoking: MicroBlaze Print Size'
|
|
mb-size datalink814_sp.elf |tee "datalink814_sp.elf.size"
|
|
@echo 'Finished building: $@'
|
|
@echo ' '
|
|
|
|
# Other Targets
|
|
clean:
|
|
-$(RM) $(EXECUTABLES)$(OBJS)$(S_UPPER_DEPS)$(C_DEPS)$(ELFSIZE) datalink814_sp.elf
|
|
-@echo ' '
|
|
|
|
secondary-outputs: $(ELFSIZE)
|
|
|
|
.PHONY: all clean dependents
|
|
.SECONDARY:
|
|
|
|
-include ../makefile.targets
|