Set default STARTUP_DIR to be toplevel dir

Change-Id: I5ccc5f1770ab1f8fb9c4824395f4ee6d48346410
Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
Damjan Marion
2018-07-19 14:39:40 +02:00
committed by Damjan Marion
parent e73b6b7bac
commit 005849ec34

View File

@@ -17,6 +17,7 @@ CCACHE_DIR?=$(BR)/.ccache
GDB?=gdb GDB?=gdb
PLATFORM?=vpp PLATFORM?=vpp
SAMPLE_PLUGIN?=no SAMPLE_PLUGIN?=no
STARTUP_DIR?=$(PWD)
MACHINE=$(shell uname -m) MACHINE=$(shell uname -m)
SUDO?=sudo SUDO?=sudo
@@ -420,7 +421,6 @@ retest:
retest-debug: retest-debug:
$(call test,vpp,vpp_debug,retest) $(call test,vpp,vpp_debug,retest)
STARTUP_DIR ?= $(PWD)
ifeq ("$(wildcard $(STARTUP_CONF))","") ifeq ("$(wildcard $(STARTUP_CONF))","")
define run define run
@echo "WARNING: STARTUP_CONF not defined or file doesn't exist." @echo "WARNING: STARTUP_CONF not defined or file doesn't exist."