chore(make): fix and optimize some build scripts

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I2e61b7ea231be78423dc10412e0ab9a710cad8ef
This commit is contained in:
Caoruihong
2021-08-23 17:58:41 +08:00
parent 5369b6aa23
commit 181322a3c1
7 changed files with 35 additions and 76 deletions

View File

@@ -28,6 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
LITEOSTOPDIR := $(realpath $(dir $(firstword $(MAKEFILE_LIST))))
export LITEOSTOPDIR
APPS = apps
ROOTFS = rootfs
@@ -64,7 +65,6 @@ LITEOS_MENUCONFIG_H ?= $(LITEOSTOPDIR)/config.h
LITEOS_CONFIG_FILE ?= $(LITEOSTOPDIR)/.config
# export los_config.mk related environment variables
export LITEOSTOPDIR
export LITEOS_MENUCONFIG_H
export LITEOS_CONFIG_FILE