summaryrefslogtreecommitdiff
path: root/payloads/external
diff options
context:
space:
mode:
authorSelma Bensaid <selma.bensaid@intel.com>2022-03-30 16:45:20 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-04-19 13:03:00 +0000
commit4bc425c5213aab870c19f02b65c248407572b086 (patch)
tree6cb6d1f24228f430b8adfec4afc8872690b67f8c /payloads/external
parent40e461a00ca8ce457c52438e3ab77e145d940db8 (diff)
payloads/depthcharge: enable LP_CHROMEOS in depthcharge
Fix standslone build failure after depthcharge patch https://crrev.com/c/3461454 merge. BUG=chrome-os-partner:226438207 TEST=Compiled brya and redrix in standalone mode. Signed-off-by: Selma Bensaid <selma.bensaid@intel.com> Change-Id: Ib2bb2ce42a314e05ef22ea7b8abc067d6361d511 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63240 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Diffstat (limited to 'payloads/external')
-rw-r--r--payloads/external/depthcharge/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/external/depthcharge/Makefile b/payloads/external/depthcharge/Makefile
index 23595e54d6..687e9f056c 100644
--- a/payloads/external/depthcharge/Makefile
+++ b/payloads/external/depthcharge/Makefile
@@ -68,6 +68,8 @@ $(libpayload_install_dir): $(project_dir)
false)
echo $(DEPTHCHARGE_LIBPAYLOAD_MSG)
cp $(libpayload_config) $(libpayload_dir)/.config
+ (grep -q '^\s*CONFIG_LP_CHROMEOS=' $(libpayload_dir)/.config) || \
+ (echo "CONFIG_LP_CHROMEOS=y" >> $(libpayload_dir)/.config)
$(MAKE) -C $(libpayload_dir) olddefconfig
$(MAKE) -C $(libpayload_dir)
$(MAKE) -C $(libpayload_dir) install DESTDIR=$(libpayload_install_dir)