summaryrefslogtreecommitdiff
path: root/payloads/external/depthcharge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/external/depthcharge/Makefile')
-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)