File: init.mk

package info (click to toggle)
imx-code-signing-tool 3.4.1%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,912 kB
  • sloc: ansic: 10,258; sh: 2,558; python: 391; yacc: 245; makefile: 203; lex: 59
file content (44 lines) | stat: -rw-r--r-- 1,302 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# SPDX-License-Identifier: BSD-3-Clause
#
# Freescale Semiconductor
# (c) Freescale Semiconductor, Inc. 2011-2015. All rights reserved.
# Copyright 2018-2019, 2022-2024 NXP
#
#==============================================================================
#
#    File Name:  init.mk
#
#    General Description: Makefile defining platform specific tools and
#                         variables used throughout the build machine.
#
#==============================================================================

# Define subsystems and source location
#==============================================================================
CST_CODE_PATH := $(ROOTPATH)/code
SUBSYS        := common back_end-ssl back_end-pkcs11 srktool front_end convlb mac_dump
VPATH         := $(SUBSYS:%=$(CST_CODE_PATH)/%/src)
ADDONS_PATH   := $(ROOTPATH)/add-ons
VPATH         += $(shell for dir in $(ADDONS_PATH)/*; do \
					if [ -d "$$dir/src" ]; then \
						echo -n "$$dir/src "; \
					fi; \
				done)

# Common commands
#==============================================================================
FIND    := find
CD      := cd
RM      := rm -f
RMDIR   := rm -rf
MKDIR   := mkdir -p
CP_REC  := cp -fr
CP      := cp -f
INSTALL := install

ifeq ($(OSTYPE),osx)
YACC   := yacc
else
YACC   := byacc
endif
LEX    := flex