arm-trusted-firmware/tools/nxp/create_pbl/create_pbl.mk
Chris Kay c32737033c build: remove Windows compatibility layer
For a couple of releases now we have officially withdrawn support for
building TF-A on Windows using the native environment, relying instead
on POSIX emulation layers like MSYS2, Mingw64, Cygwin or WSL.

This change removes the remainder of the OS compatibility layer
entirely, and migrates the build system over to explicitly relying on a
POSIX environment.

Change-Id: I8fb60d998162422e958009afd17eab826e3bc39b
Signed-off-by: Chris Kay <chris.kay@arm.com>
2025-01-14 16:21:51 +00:00

53 lines
942 B
Makefile

#
# Copyright 2018-2020 NXP
# Copyright (c) 2025, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#
CREATE_PBL ?= ${CREATE_PBL_TOOL_PATH}/create_pbl$(.exe)
BYTE_SWAP ?= ${CREATE_PBL_TOOL_PATH}/byte_swap$(.exe)
HOST_GCC := gcc
#SWAP is required for Chassis 2 platforms - LS102, ls1043 and ls1046 for QSPI
ifeq (${SOC},ls1046a)
SOC_NUM := 1046a
SWAP = 1
CH = 2
else ifeq (${SOC},ls1043a)
SOC_NUM := 1043a
SWAP = 1
CH = 2
else ifeq (${SOC},ls1012a)
SOC_NUM := 1012a
SWAP = 1
CH = 2
else ifeq (${SOC},ls1088a)
SOC_NUM := 1088a
CH = 3
else ifeq (${SOC},ls2088a)
SOC_NUM := 2088a
CH = 3
else ifeq (${SOC},lx2160a)
SOC_NUM := 2160a
CH = 3
else ifeq (${SOC},ls1028a)
SOC_NUM := 1028a
CH = 3
else
$(error "Check SOC Not defined in create_pbl.mk.")
endif
ifeq (${CH},2)
include ${CREATE_PBL_TOOL_PATH}/pbl_ch2.mk
endif #CH2
ifeq (${CH},3)
include ${CREATE_PBL_TOOL_PATH}/pbl_ch3.mk
endif #CH3