coreboot-kgpe-d16/src/arch/x86
Martin Roth 699af19359 arch/x86/Makefile.inc: Update symbol check macro
This was breaking the build on OS X, but also wasn't working correctly
under linux anymore either. It wouldn't print the illegal symbols
when it failed.

- Split the generation of the offenders file from the actual check for
offending symbols and just send all output to /dev/null.
- Rewrite the check for offending symbols in a way that works with OS X.

Tested by adding a global variable to romstage and verifying the
failure is shown correctly.  Verified that it works correctly with no
illegal variables.

Change-Id: I5b3ac32448851884d78c3b3449508ffe014119ab
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13018
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2016-01-18 01:47:17 +01:00
..
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
include arch/x86/include: add missing license headers 2016-01-14 22:48:17 +01:00
acpi.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
acpigen.c cpu/amd: Add CC6 support 2015-11-11 18:45:14 +01:00
assembly_entry.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boot.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
bootblock.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock_normal.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
bootblock_simple.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
c_start.S arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
car.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbfs_and_run.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbmem.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cpu.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
cpu_common.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
crt0_romcc_epilogue.inc x86: flatten hierarchy 2015-07-13 21:04:56 +02:00
ebda.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
exception.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
failover.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gdt.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
id.ld arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
id.S arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
ioapic.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig arm/arm64: Generalize bootblock C entry point 2015-11-11 05:08:07 +01:00
Makefile.inc arch/x86/Makefile.inc: Update symbol check macro 2016-01-18 01:47:17 +01:00
memcpy.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
memlayout.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
memmove.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
memset.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mmap_boot.c Revert "x86: Align CBFS on top of ROM" 2016-01-06 17:44:54 +01:00
mpspec.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pci_ops_conf1.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
pci_ops_mmconf.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
pirq_routing.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
prologue.inc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
romcc_console.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbios.c x86/smbios: Return index 0 for empty strings 2015-12-16 01:20:00 +01:00
stages.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tables.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
thread.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
thread_switch.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timestamp.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
wakeup.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
walkcbfs.S arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00