1bda68ab9SRemy Horton# BSD LICENSE 2bda68ab9SRemy Horton# 3bda68ab9SRemy Horton# Copyright(c) 2015 Intel Corporation. All rights reserved. 4bda68ab9SRemy Horton# All rights reserved. 5bda68ab9SRemy Horton# 6bda68ab9SRemy Horton# Redistribution and use in source and binary forms, with or without 7bda68ab9SRemy Horton# modification, are permitted provided that the following conditions 8bda68ab9SRemy Horton# are met: 9bda68ab9SRemy Horton# 10bda68ab9SRemy Horton# * Redistributions of source code must retain the above copyright 11bda68ab9SRemy Horton# notice, this list of conditions and the following disclaimer. 12bda68ab9SRemy Horton# * Redistributions in binary form must reproduce the above copyright 13bda68ab9SRemy Horton# notice, this list of conditions and the following disclaimer in 14bda68ab9SRemy Horton# the documentation and/or other materials provided with the 15bda68ab9SRemy Horton# distribution. 16bda68ab9SRemy Horton# * Neither the name of Intel Corporation nor the names of its 17bda68ab9SRemy Horton# contributors may be used to endorse or promote products derived 18bda68ab9SRemy Horton# from this software without specific prior written permission. 19bda68ab9SRemy Horton# 20bda68ab9SRemy Horton# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21bda68ab9SRemy Horton# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22bda68ab9SRemy Horton# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23bda68ab9SRemy Horton# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24bda68ab9SRemy Horton# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25bda68ab9SRemy Horton# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26bda68ab9SRemy Horton# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27bda68ab9SRemy Horton# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28bda68ab9SRemy Horton# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29bda68ab9SRemy Horton# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30bda68ab9SRemy Horton# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31bda68ab9SRemy Horton 32bda68ab9SRemy Hortonifeq ($(RTE_SDK),) 33bda68ab9SRemy Horton$(error "Please define RTE_SDK environment variable") 34bda68ab9SRemy Hortonendif 35bda68ab9SRemy Horton 36bda68ab9SRemy Horton# Default target, can be overwritten by command line or environment 37bda68ab9SRemy HortonRTE_TARGET ?= x86_64-native-linuxapp-gcc 38bda68ab9SRemy Horton 39bda68ab9SRemy Hortoninclude $(RTE_SDK)/mk/rte.vars.mk 40bda68ab9SRemy Horton 41bda68ab9SRemy Hortonifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp") 42*20dcb28fSYong Liu$(info This application can only operate in a linuxapp environment, \ 43bda68ab9SRemy Hortonplease change the definition of the RTE_TARGET environment variable) 44*20dcb28fSYong Liuelse 45bda68ab9SRemy Horton 46bda68ab9SRemy HortonDIRS-y += lib ethtool-app 47*20dcb28fSYong Liuendif 48bda68ab9SRemy Horton 49bda68ab9SRemy Hortoninclude $(RTE_SDK)/mk/rte.extsubdir.mk 50