mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
The attached patch adds some verbosity to the bison step in the dtc
build, and also creates the target directory if not done yet. This fixes a race-like issue I have with make sometimes trying to compile dtc-parser.tab.c before bison finished execution. I have no idea why it fixes things, but it seems to do, and does no harm otherwise. Also, documenting this step is just The Right Thing[tm] in my opinion. Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@300 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
970c4059dc
commit
246020263e
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ ftdump: ftdump.o
|
|||
$(Q)$(HOSTCC) -o $@ $^
|
||||
|
||||
$(obj)/util/dtc/dtc-parser.tab.c $(obj)/util/dtc/dtc-parser.tab.h $(obj)/util/dtc/dtc-parser.output: $(src)/util/dtc/dtc-parser.y
|
||||
$(Q)mkdir -p $(obj)/util/dtc
|
||||
$(Q)printf " BISON $(subst $(shell pwd)/,,$(@))\n"
|
||||
$(Q)cd $(obj)/util/dtc; $(BISON) -d $< &> $(obj)/util/dtc/dtc.bison.out
|
||||
|
||||
$(obj)/util/dtc/lex.yy.c: $(src)/util/dtc/dtc-lexer.l
|
||||
|
|
Loading…
Add table
Reference in a new issue