You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
399 B

PROJECT_DIR = $(CURDIR)
SDK_DIR ?= $(CURDIR)/../../..
USER_CSRC := main.c
USER_CSRC += src/cmd_pcie.c \
src/rc_enumerate_example.c
USER_ASRC :=
USER_CXXSRC :=
USER_INCLUDE := $(PROJECT_DIR) \
$(PROJECT_DIR)/inc
include $(SDK_DIR)/tools/build/makeall.mk
USR_BOOT_DIR ?= /mnt/d/tftpboot
image:
make clean
make all -j
cp ./$(IMAGE_OUT_NAME).elf $(USR_BOOT_DIR)/baremetal.elf