chore(make): make menuconfig same as update_config
Signed-off-by: Caoruihong <crh.cao@huawei.com> Change-Id: I5c4a1a0601865c1c7d6ae40b829abdb53f13ccd3
This commit is contained in:
parent
c7da23695c
commit
3dd952b0b7
6
Makefile
6
Makefile
|
@ -141,14 +141,14 @@ ifeq ($(origin SYSROOT_PATH),file)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(KCONFIG_CMDS):
|
$(filter-out menuconfig,$(KCONFIG_CMDS)):
|
||||||
$(HIDE)$@ $(args)
|
$(HIDE)$@ $(args)
|
||||||
|
|
||||||
$(LITEOS_CONFIG_FILE): $(KCONFIG_CONFIG)
|
$(LITEOS_CONFIG_FILE): $(KCONFIG_CONFIG)
|
||||||
$(HIDE)env KCONFIG_CONFIG=$< genconfig --config-out $@ --header-path $(LITEOS_MENUCONFIG_H)
|
$(HIDE)env KCONFIG_CONFIG=$< genconfig --config-out $@ --header-path $(LITEOS_MENUCONFIG_H)
|
||||||
|
|
||||||
update_config:
|
update_config menuconfig:
|
||||||
$(HIDE)test -f "$(CONFIG)" && cp -v "$(CONFIG)" .config && menuconfig && savedefconfig --out "$(CONFIG)"
|
$(HIDE)test -f "$(CONFIG)" && cp -v "$(CONFIG)" .config && menuconfig $(args) && savedefconfig --out "$(CONFIG)"
|
||||||
|
|
||||||
$(LITEOS_LIBS_TARGET): sysroot
|
$(LITEOS_LIBS_TARGET): sysroot
|
||||||
$(HIDE)for dir in $(LIB_SUBDIRS); do $(MAKE) -C $$dir all || exit 1; done
|
$(HIDE)for dir in $(LIB_SUBDIRS); do $(MAKE) -C $$dir all || exit 1; done
|
||||||
|
|
Loading…
Reference in New Issue