MC3302_SDK_V1.1.9_202507281.../bsp/test/Makefile.param

21 lines
548 B
Makefile
Raw Permalink Normal View History

2025-11-11 04:08:31 +00:00
LOCAL_PATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
export SDK_DIR?=$(realpath $(LOCAL_PATH)/../..)
# not run in the top makefile
ifeq (,$(TARGET_CONFIG_NIMI))
ENV_FILE := $(SDK_DIR)/output/.config
ifeq (,$(wildcard $(ENV_FILE)))
$(error "$(ENV_FILE) does not exist!build the kernel firstly!!")
endif
include $(ENV_FILE)
endif
export CC:=$(CROSS)gcc
export AR:=$(CROSS)ar
export STRIP :=$(CROSS)strip --strip-debug
REL_DIR:=$(SDK_DIR)/output/$(TARGET_OUTPUT_DIR)
export BSP_TEST_OUT_DIR := $(REL_DIR)/bsp/test