Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
4731e8f0
Commit
4731e8f0
authored
Apr 29, 2015
by
danh-arm
Browse files
Merge pull request #295 from danh-arm/dh/plat-port-reorg
ARM platform port reorganization
parents
6403a306
4a75b84a
Changes
101
Show whitespace changes
Inline
Side-by-side
tools/cert_create/Makefile
View file @
4731e8f0
...
...
@@ -47,7 +47,13 @@ CFLAGS := -Wall -std=c99
# Check the platform
ifeq
(${PLAT},none)
$(error Error
:
No platform defined. Use PLAT=<platform>.)
$(error "Error
:
Unknown platform. Please use PLAT=<platform name> to specify the platform")
endif
PLAT_MAKEFILE
:=
platform.mk
PLAT_INCLUDE
:=
$(
shell
find ../../plat/
-wholename
'*/
${PLAT}
/
${PLAT_MAKEFILE}
'
|
\
sed
's/
${PLAT_MAKEFILE}
/include/'
)
ifeq
($(PLAT_INCLUDE),)
$(error "Error
:
Invalid platform '${PLAT}'")
endif
ifeq
(${DEBUG},1)
...
...
@@ -63,7 +69,7 @@ endif
# Make soft links and include from local directory otherwise wrong headers
# could get pulled in from firmware tree.
INC_DIR
:=
-I
./include
-I
../../plat/
${PLAT}
/include
INC_DIR
:=
-I
./include
-I
${PLAT_INCLUDE}
LIB_DIR
:=
LIB
:=
-lssl
-lcrypto
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment