Set default STARTUP_DIR to be toplevel dir
Change-Id: I5ccc5f1770ab1f8fb9c4824395f4ee6d48346410 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
e73b6b7bac
commit
005849ec34
2
Makefile
2
Makefile
@@ -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."
|
||||||
|
Reference in New Issue
Block a user