mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
BUG=chrome-os-partner:30784 BRANCH=None TEST=Compiles successfully for rush Original-Change-Id: Ic11bef85e5c7635000582f87727cd9a33b0b36e3 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/209975 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> (cherry picked from commit 3d3f0494d8758ef5040384f63d023c042686bd2c) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: Ie15781d10a366b68f0db97378ccb348a4f074995 Reviewed-on: http://review.coreboot.org/8679 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
43 lines
No EOL
1.3 KiB
Makefile
43 lines
No EOL
1.3 KiB
Makefile
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright 2014 Google Inc.
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; version 2 of the License.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License
|
|
## along with this program; if not, write to the Free Software
|
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
##
|
|
|
|
# Add a handler for BCT config files
|
|
$(call add-special-class,bct-cfg)
|
|
bct-cfg-handler= $(eval $(obj)/generated/bct.cfg: $(1)$(2))
|
|
|
|
$(obj)/generated/bct.cfg:
|
|
@printf " CAT $(subst $(obj)/,,$(@))\n"
|
|
cat $^ > $@
|
|
|
|
subdirs-y += bct
|
|
|
|
bootblock-y += boardid.c
|
|
bootblock-y += bootblock.c
|
|
bootblock-y += pmic.c
|
|
bootblock-y += reset.c
|
|
|
|
romstage-y += reset.c
|
|
romstage-y += romstage.c
|
|
romstage-y += sdram_configs.c
|
|
romstage-$(CONFIG_CHROMEOS) += chromeos.c
|
|
romstage-y += ec_dummy.c
|
|
|
|
ramstage-y += mainboard.c
|
|
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
|
ramstage-y += ec_dummy.c
|