|
|
@ -33,13 +33,6 @@ $(error SDK_DIR/tools/build_baremetal.mk dose not exist) |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
amp_make: |
|
|
|
# 基于当前目录下current_config.config 进行amp 操作
|
|
|
|
@$(PYTHON) $(SDK_PYTHON_TOOLS_DIR)/amp_parse_config.py |
|
|
|
$(MAKE) -C $(SDK_DIR)/tools/build/new_boot_code all -j AMP_IMG_EXPORT_IMG=$(PROJECT_DIR)/packed.bin BUILD_OUT_PATH=$(PROJECT_DIR)/build/boot_build IMAGE_OUT_NAME=packed_image IMAGE_OUTPUT=$(PROJECT_DIR)/ |
|
|
|
cp ./packed_image.elf $(USR_BOOT_DIR)/baremetal.elf |
|
|
|
|
|
|
|
|
|
|
|
all: $(IMAGE_NAME).elf |
|
|
|
# user makefile
|
|
|
|
include $(SDK_DIR)/board/user/user_make.mk |
|
|
@ -55,3 +48,8 @@ include $(SDK_DIR)/tools/build/menuconfig/preconfig.mk |
|
|
|
include $(SDK_DIR)/tools/build/menuconfig/menuconfig.mk |
|
|
|
include $(SDK_DIR)/tools/export_ide/gen_proj.mk |
|
|
|
|
|
|
|
amp_make: |
|
|
|
# 基于当前目录下current_config.config 进行amp 操作
|
|
|
|
@$(PYTHON) $(SDK_PYTHON_TOOLS_DIR)/amp_parse_config.py |
|
|
|
$(MAKE) -C $(SDK_DIR)/tools/build/new_boot_code all -j AMP_IMG_EXPORT_IMG=$(PROJECT_DIR)/packed.bin BUILD_OUT_PATH=$(PROJECT_DIR)/build/boot_build IMAGE_OUT_NAME=packed_image IMAGE_OUTPUT=$(PROJECT_DIR)/ |
|
|
|
cp ./packed_image.elf $(USR_BOOT_DIR)/baremetal.elf |
|
|
|