Skip to content

Commit

Permalink
Fix the ihex target in the Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: y <hui1.teng.lim@intel.com>
  • Loading branch information
hui1teng authored and FelixWongSiewAn committed Mar 28, 2024
1 parent 309e162 commit 1c61340
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sm_soc_devkit_ghrd/software/hps_debug/Makefile_ARMCLANG.inc
Expand Up @@ -17,11 +17,11 @@ OBJCOPY := objcopy

TARGET_PROCESSOR := aarch64-arm-none-eabi

AXF := hps_debug.axf
AXF := hps_wipe.axf
IHEX := $(patsubst %.axf,%.ihex,$(AXF))
OBJDUMP_FILE := $(patsubst %.axf,%.objdump,$(AXF))

SRC := hps_debug.S
SRC := hps_wipe.s
SCATTER_FILE := scatter.scat

CC_FLAGS := -g --target=$(TARGET_PROCESSOR) -mcpu=Cortex-A53
Expand Down
2 changes: 1 addition & 1 deletion sm_soc_devkit_ghrd/software/hps_debug/Makefile_GCC.inc
Expand Up @@ -13,7 +13,7 @@ CC:= $(CROSS_COMPILE)as
OBJCOPY := $(CROSS_COMPILE)objcopy
OBJDUMP := $(CROSS_COMPILE)objdump

SRC := hps_debug.S
SRC := hps_wipe.s
ENTRY_POINT:=0x0

IHEX := $(patsubst %.s,%.ihex,$(SRC))
Expand Down

0 comments on commit 1c61340

Please sign in to comment.