Initial version.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
*startfile:
|
||||
crti%O%s crtbegin%O%s
|
||||
@@ -0,0 +1,77 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
-include ../makefile.init
|
||||
|
||||
CC := /tools/Xilinx/SDK/2019.1/gnu/aarch32/lin/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
|
||||
XILIN_A9_PRE := /tools/Xilinx/SDK/2019.1/bin/a9-linaro-pre-build-step
|
||||
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/mpc/subdir.mk
|
||||
-include src/linklayer/geometry/subdir.mk
|
||||
-include src/linklayer/subdir.mk
|
||||
-include src/hardware/mykonos/subdir.mk
|
||||
-include src/hardware/subdir.mk
|
||||
-include src/config/subdir.mk
|
||||
-include src/bit_array/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_ge.elf.size \
|
||||
|
||||
|
||||
# All Target
|
||||
all: pre-build main-build
|
||||
|
||||
# Main-build Target
|
||||
main-build: datalink814_ge.elf secondary-outputs
|
||||
|
||||
# Tool invocations
|
||||
datalink814_ge.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS)
|
||||
@echo 'Building target: $@'
|
||||
@echo 'Invoking: ARM v7 gcc linker'
|
||||
$(CC) -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -Wl,-build-id=none -specs=Xilinx.spec -Wl,-T -Wl,../src/lscript.ld -L../bsp/ps7_cortexa9_0/lib -o "datalink814_ge.elf" $(OBJS) $(USER_OBJS) $(LIBS)
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
|
||||
datalink814_ge.elf.size: datalink814_ge.elf
|
||||
@echo 'Invoking: ARM v7 Print Size'
|
||||
arm-none-eabi-size datalink814_ge.elf |tee "datalink814_ge.elf.size"
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) $(EXECUTABLES)$(OBJS)$(S_UPPER_DEPS)$(C_DEPS)$(ELFSIZE) datalink814_ge.elf
|
||||
-@echo ' '
|
||||
|
||||
pre-build:
|
||||
-$(XILIN_A9_PRE)
|
||||
-@echo ' '
|
||||
|
||||
secondary-outputs: $(ELFSIZE)
|
||||
|
||||
.PHONY: all clean dependents
|
||||
.SECONDARY: main-build pre-build
|
||||
|
||||
-include ../makefile.targets
|
||||
@@ -0,0 +1,8 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
USER_OBJS :=
|
||||
|
||||
LIBS := -lm -Wl,--start-group,-lxil,-lgcc,-lc,--end-group
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
LD_SRCS :=
|
||||
OBJ_SRCS :=
|
||||
S_SRCS :=
|
||||
C_SRCS :=
|
||||
S_UPPER_SRCS :=
|
||||
O_SRCS :=
|
||||
EXECUTABLES :=
|
||||
OBJS :=
|
||||
S_UPPER_DEPS :=
|
||||
C_DEPS :=
|
||||
ELFSIZE :=
|
||||
|
||||
# Every subdirectory with source files must be described here
|
||||
SUBDIRS := \
|
||||
src/bit_array \
|
||||
src \
|
||||
src/config \
|
||||
src/hardware \
|
||||
src/hardware/mykonos \
|
||||
src/linklayer \
|
||||
src/linklayer/geometry \
|
||||
src/mpc \
|
||||
src/phy_ctrl \
|
||||
src/time_ctrl \
|
||||
src/util \
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/bit_array/bit_array.c
|
||||
|
||||
OBJS += \
|
||||
./src/bit_array/bit_array.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/bit_array/bit_array.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/bit_array/%.o: ../src/bit_array/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/config/platform.c
|
||||
|
||||
OBJS += \
|
||||
./src/config/platform.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/config/platform.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/config/%.o: ../src/config/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/hardware/mykonos/Mykonos_M3.c \
|
||||
../src/hardware/mykonos/ad9528.c \
|
||||
../src/hardware/mykonos/mykonos.c \
|
||||
../src/hardware/mykonos/mykonosMmap.c \
|
||||
../src/hardware/mykonos/mykonos_gpio.c \
|
||||
../src/hardware/mykonos/mykonos_user.c
|
||||
|
||||
OBJS += \
|
||||
./src/hardware/mykonos/Mykonos_M3.o \
|
||||
./src/hardware/mykonos/ad9528.o \
|
||||
./src/hardware/mykonos/mykonos.o \
|
||||
./src/hardware/mykonos/mykonosMmap.o \
|
||||
./src/hardware/mykonos/mykonos_gpio.o \
|
||||
./src/hardware/mykonos/mykonos_user.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/hardware/mykonos/Mykonos_M3.d \
|
||||
./src/hardware/mykonos/ad9528.d \
|
||||
./src/hardware/mykonos/mykonos.d \
|
||||
./src/hardware/mykonos/mykonosMmap.d \
|
||||
./src/hardware/mykonos/mykonos_gpio.d \
|
||||
./src/hardware/mykonos/mykonos_user.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/hardware/mykonos/%.o: ../src/hardware/mykonos/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/hardware/common.c \
|
||||
../src/hardware/headless.c \
|
||||
../src/hardware/myk_ad9528init.c \
|
||||
../src/hardware/myk_init.c \
|
||||
../src/hardware/platform_drivers.c
|
||||
|
||||
OBJS += \
|
||||
./src/hardware/common.o \
|
||||
./src/hardware/headless.o \
|
||||
./src/hardware/myk_ad9528init.o \
|
||||
./src/hardware/myk_init.o \
|
||||
./src/hardware/platform_drivers.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/hardware/common.d \
|
||||
./src/hardware/headless.d \
|
||||
./src/hardware/myk_ad9528init.d \
|
||||
./src/hardware/myk_init.d \
|
||||
./src/hardware/platform_drivers.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/hardware/%.o: ../src/hardware/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/linklayer/geometry/coord.c \
|
||||
../src/linklayer/geometry/eulerangles.c \
|
||||
../src/linklayer/geometry/quaternion.c
|
||||
|
||||
OBJS += \
|
||||
./src/linklayer/geometry/coord.o \
|
||||
./src/linklayer/geometry/eulerangles.o \
|
||||
./src/linklayer/geometry/quaternion.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/linklayer/geometry/coord.d \
|
||||
./src/linklayer/geometry/eulerangles.d \
|
||||
./src/linklayer/geometry/quaternion.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/linklayer/geometry/%.o: ../src/linklayer/geometry/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/linklayer/framing.c \
|
||||
../src/linklayer/linklayer814.c \
|
||||
../src/linklayer/linklayer_routine.c \
|
||||
../src/linklayer/net_mgmt.c \
|
||||
../src/linklayer/net_scan.c \
|
||||
../src/linklayer/net_service.c \
|
||||
../src/linklayer/node_list.c \
|
||||
../src/linklayer/time_sync.c
|
||||
|
||||
OBJS += \
|
||||
./src/linklayer/framing.o \
|
||||
./src/linklayer/linklayer814.o \
|
||||
./src/linklayer/linklayer_routine.o \
|
||||
./src/linklayer/net_mgmt.o \
|
||||
./src/linklayer/net_scan.o \
|
||||
./src/linklayer/net_service.o \
|
||||
./src/linklayer/node_list.o \
|
||||
./src/linklayer/time_sync.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/linklayer/framing.d \
|
||||
./src/linklayer/linklayer814.d \
|
||||
./src/linklayer/linklayer_routine.d \
|
||||
./src/linklayer/net_mgmt.d \
|
||||
./src/linklayer/net_scan.d \
|
||||
./src/linklayer/net_service.d \
|
||||
./src/linklayer/node_list.d \
|
||||
./src/linklayer/time_sync.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/linklayer/%.o: ../src/linklayer/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/mpc/mpc_ctrl.c
|
||||
|
||||
OBJS += \
|
||||
./src/mpc/mpc_ctrl.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/mpc/mpc_ctrl.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/mpc/%.o: ../src/mpc/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/phy_ctrl/antenna.c \
|
||||
../src/phy_ctrl/phy_ctrl.c
|
||||
|
||||
OBJS += \
|
||||
./src/phy_ctrl/antenna.o \
|
||||
./src/phy_ctrl/phy_ctrl.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/phy_ctrl/antenna.d \
|
||||
./src/phy_ctrl/phy_ctrl.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/phy_ctrl/%.o: ../src/phy_ctrl/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
LD_SRCS += \
|
||||
../src/lscript.ld
|
||||
|
||||
C_SRCS += \
|
||||
../src/common.c \
|
||||
../src/main.c
|
||||
|
||||
OBJS += \
|
||||
./src/common.o \
|
||||
./src/main.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/common.d \
|
||||
./src/main.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/%.o: ../src/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/time_ctrl/time_ctrl.c
|
||||
|
||||
OBJS += \
|
||||
./src/time_ctrl/time_ctrl.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/time_ctrl/time_ctrl.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/time_ctrl/%.o: ../src/time_ctrl/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../src/util/crc.c \
|
||||
../src/util/util.c
|
||||
|
||||
OBJS += \
|
||||
./src/util/crc.o \
|
||||
./src/util/util.o
|
||||
|
||||
C_DEPS += \
|
||||
./src/util/crc.d \
|
||||
./src/util/util.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
src/util/%.o: ../src/util/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: ARM v7 gcc compiler'
|
||||
$(CC) -Wall -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
Reference in New Issue
Block a user