From 787fae2eecd00530ced09af10f79fe1c63fa289c Mon Sep 17 00:00:00 2001 From: Caoruihong Date: Tue, 27 Jul 2021 16:02:58 +0800 Subject: [PATCH] chore: remove kconfiglib related building steps kconfiglib will be install by installing ohos-build Signed-off-by: Caoruihong Change-Id: I49a946fcea259155f3019ac6b6b3319c3a4cec47 --- BUILD.gn | 2 -- Makefile | 3 --- 2 files changed, 5 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 8b7b846e..c067fb8f 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -70,8 +70,6 @@ if (exec_script("//build/lite/run_shell_cmd.py", [ "if [ -f $f ]; then echo true print("liteos_config_file:", liteos_config_file) -exec_script("//build/lite/run_shell_cmd.py", [ "which genconfig || pip3 install --user kconfiglib" ]) - exec_script("//build/lite/run_shell_cmd.py", [ "env" + diff --git a/Makefile b/Makefile index 0647ee9b..b0b1014e 100644 --- a/Makefile +++ b/Makefile @@ -66,9 +66,6 @@ else CONFIG ?= $(PRODUCT_PATH)/config/debug$(tee).config endif -ifeq ($(shell which menuconfig),) -$(shell pip3 install --user kconfiglib >/dev/null) -endif $(shell env CONFIG_=$(CONFIG_) DEVICE_PATH=$(DEVICE_PATH) olddefconfig >/dev/null) -include $(LITEOSTOPDIR)/tools/build/config.mk