Brad Bishop | 0011132 | 2018-04-01 22:23:53 -0400 | [diff] [blame] | 1 | Allow passing custom c-flags to mkbuildinf.pl in order to pass |
| 2 | flags without any build host references |
| 3 | |
| 4 | Upstream-Status: Inappropriate [OE specific] |
| 5 | |
| 6 | Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> |
| 7 | |
| 8 | --- Makefile 2018-03-06 14:50:18.342138147 -0800 |
| 9 | +++ Makefile 2018-03-06 15:24:04.794239071 -0800 |
| 10 | --- a/crypto/Makefile |
| 11 | +++ b/crypto/Makefile |
| 12 | @@ -55,7 +55,7 @@ |
| 13 | all: shared |
| 14 | |
| 15 | buildinf.h: ../Makefile |
| 16 | - $(PERL) $(TOP)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" >buildinf.h |
| 17 | + $(PERL) $(TOP)/util/mkbuildinf.pl "$(CC_INFO)" "$(PLATFORM)" >buildinf.h |
| 18 | |
| 19 | x86cpuid.s: x86cpuid.pl perlasm/x86asm.pl |
| 20 | $(PERL) x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ |