Files
BPI-CM9-Linux/aml-comp/vendor/amlogic/secpu_fw_loader/lib/Makefile.buildroot
T

26 lines
436 B
Makefile
Raw Normal View History

2026-08-13 11:28:40 +08:00
OBJS = tee_secpu_fw_loader.o
ifeq ($(ARCH), arm64)
TEEC_EXPORT=$(TDK_DIR)/ca_export_arm64
endif
ifeq ($(ARCH), arm)
TEEC_EXPORT=$(TDK_DIR)/ca_export_arm
endif
CFLAGS += -Wall -I../ta/include -I$(TEEC_EXPORT)/include -I./include
#Add/link other required libraries here
LDADD += -lteec
LIB = libtee_secpu_fw_loader.so
.PHONY: all
all: $(LIB)
$(LIB): $(OBJS)
$(CC) $(LDADD) -fPIC -shared -o $@ $^
.PHONY: clean
clean:
rm -rf $(O)