mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-11 07:04:22 +00:00
fix(nxp-tools): fix create_pbl buildroot build
When building with Buildroot environment, the rule to build the object is not used from the Makefile but from another one with a higher priority. It leads to the following error: Built fiptool successfully EL3 Runtime Firmware BL31: offset=0x88, size=0xE401, cmdline="--soc-fw" Non-Trusted Firmware BL33: offset=0xE489, size=0xD1438, cmdline="--nt-fw" Wall -Werror -pedantic -std=c99 -O2 -DVERSION='"v2.12.0(release):master"' -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -c -o create_pbl.o create_pbl.c make[3]: Wall: No such file or directory Let's be explicit in order to enforce the local rule. There is not .h file so it should be removed from the dependency list in oder to avoid such error: make[3]: *** No rule to make target 'create_pbl.h', needed by 'create_pbl.o'. Stop. Change-Id: Idec378c5688e332695d805f3fca2800d905a1c74 Signed-off-by: Vincent Jardin <vjardin@free.fr>
This commit is contained in:
parent
fb3402b925
commit
634c7d8172
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ ${PROJECT_2}: ${OBJECTS_2} Makefile
|
|||
$(s)echo "Built $@ successfully"
|
||||
$(s)echo
|
||||
|
||||
%.o: %.c %.h Makefile
|
||||
+${OBJECTS_1} ${OBJECTS_2}: %.o: %.c Makefile
|
||||
$(s)echo " CC $<"
|
||||
$(q)$(host-cc) -c ${CPPFLAGS} ${CFLAGS} ${INCLUDE_PATHS} $< -o $@
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue