| 1 |
# SPDX-License-Identifier: MIT |
| 2 |
# |
| 3 |
# Copyright 2025 Advanced Micro Devices, Inc. |
| 4 |
# Makefile for bounding box component. |
| 5 |
# Floating point required due to nature of bounding box values |
| 6 |
|
| 7 |
soc_and_ip_translator_ccflags := $(CC_FLAGS_FPU) |
| 8 |
soc_and_ip_translator_rcflags := $(CC_FLAGS_NO_FPU) |
| 9 |
|
| 10 |
CFLAGS_$(AMDDALPATH)/dc/soc_and_ip_translator/dcn401/dcn401_soc_and_ip_translator.o := $(soc_and_ip_translator_ccflags) |
| 11 |
|
| 12 |
CFLAGS_REMOVE_$(AMDDALPATH)/dc/soc_and_ip_translator/dcn401/dcn401_soc_and_ip_translator.o := $(soc_and_ip_translator_rcflags) |
| 13 |
|
| 14 |
soc_and_ip_translator := soc_and_ip_translator.o |
| 15 |
soc_and_ip_translator += dcn401/dcn401_soc_and_ip_translator.o |
| 16 |
|
| 17 |
AMD_DAL_soc_and_ip_translator := $(addprefix $(AMDDALPATH)/dc/soc_and_ip_translator/, $(soc_and_ip_translator)) |
| 18 |
|
| 19 |
AMD_DISPLAY_FILES += $(AMD_DAL_soc_and_ip_translator) |