Skip to content

Commit

Permalink
generic toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
parkerh committed Apr 4, 2019
1 parent 744d36f commit ef09a92
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,18 @@ endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables
ELFSIZE += \
ina_bm.elf.size \


# All Target
all: ina_bm.elf secondary-outputs

# Tool invocations
ina_bm.elf: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: ARM v8 Linux g++ linker'
aarch64-linux-gnu-g++ -o "ina_bm.elf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Invoking: CXX'
$(CXX) -o "ina_bm.elf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '

ina_bm.elf.size: ina_bm.elf
@echo 'Invoking: ARM v8 Linux Print Size'
aarch64-linux-gnu-size ina_bm.elf |tee "ina_bm.elf.size"
@echo 'Finished building: $@'
@echo ' '

# Other Targets
clean:
-$(RM) $(ELFSIZE) ina_bm.elf
Expand Down

0 comments on commit ef09a92

Please sign in to comment.