Home
last modified time | relevance | path

Searched hist:"7 e94a699ddd0b16a281fe65b08c7fc0bf29d9e91" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/make_helpers/
H A Dbuild_macros.mk7e94a699ddd0b16a281fe65b08c7fc0bf29d9e91 Mon Jan 21 14:50:10 UTC 2019 Manish Pandey <manish.pandey2@arm.com> Make device tree pre-processing similar to U-boot/Linux

Following changes are done to make DT pre-processing similar to that of
U-boot/Linux kernel.

1. Creating seperate CPPFLAGS for DT preprocessing so that compiler
options specific to it can be accommodated.
e.g: "-undef" compiler option avoids replacing "linux" string(used in
device trees) with "1" as "linux" is a pre-defined macro in gnu99
standard.

2. Replace CPP with PP for DT pre-processing, as CPP in U-boot/Linux is
exported as "${CROSS_COMPILE}gcc -E" while in TF-A it is exported as
"${CROSS_COMPILE}cpp".

Change-Id: If4c61a249d51614d9f53ae30b602036d50c02349
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
/rk3399_ARM-atf/
H A DMakefile7e94a699ddd0b16a281fe65b08c7fc0bf29d9e91 Mon Jan 21 14:50:10 UTC 2019 Manish Pandey <manish.pandey2@arm.com> Make device tree pre-processing similar to U-boot/Linux

Following changes are done to make DT pre-processing similar to that of
U-boot/Linux kernel.

1. Creating seperate CPPFLAGS for DT preprocessing so that compiler
options specific to it can be accommodated.
e.g: "-undef" compiler option avoids replacing "linux" string(used in
device trees) with "1" as "linux" is a pre-defined macro in gnu99
standard.

2. Replace CPP with PP for DT pre-processing, as CPP in U-boot/Linux is
exported as "${CROSS_COMPILE}gcc -E" while in TF-A it is exported as
"${CROSS_COMPILE}cpp".

Change-Id: If4c61a249d51614d9f53ae30b602036d50c02349
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>