]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright(c) 2010-2014 Intel Corporation | |
7c673cae FG |
3 | |
4 | ifeq ($(RTE_SDK),) | |
5 | $(error "Please define RTE_SDK environment variable") | |
6 | endif | |
7 | ||
9f95a23c TL |
8 | # Default target, detect a build directory, by looking for a path with a .config |
9 | RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config))))) | |
7c673cae FG |
10 | |
11 | include $(RTE_SDK)/mk/rte.vars.mk | |
12 | unexport RTE_SRCDIR RTE_OUTPUT RTE_EXTMK | |
13 | ||
14 | DIRS-y += bridge | |
15 | ||
16 | .PHONY: all clean $(DIRS-y) | |
17 | ||
18 | all: $(DIRS-y) | |
19 | clean: $(DIRS-y) | |
20 | ||
21 | $(DIRS-y): | |
22 | $(MAKE) -C $@ $(MAKECMDGOALS) O=$(RTE_OUTPUT) |