Makefile: separate PLATFORM into BOARD+FIRMWARE

Combination of BOARD and FIRMWARE is a more precious definition.
And we decide PLATFORM_XXX based on FIRMWARE, remove relative one in
board config.

We reserve PLATFORM for backward compatibility.

Tracked-On: #1995
Signed-off-by: Tw <wei.tan@intel.com>
Reviewed-by: Yin Fengwei < fengwei.yin@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
Tw
2018-12-11 16:00:56 +08:00
committed by wenlingz
parent 064a31067f
commit 59c2b33a90
4 changed files with 40 additions and 20 deletions

View File

@@ -1,4 +1,3 @@
# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)
CONFIG_PLATFORM_UEFI=y
CONFIG_BOARD="NUC6CAYH"
CONFIG_SERIAL_LEGACY=y

View File

@@ -1,5 +1,4 @@
# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)
CONFIG_PLATFORM_UEFI=y
CONFIG_BOARD="UP2"
CONFIG_SERIAL_PCI=y
CONFIG_SERIAL_PCI_BDF=0x00C1