From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 3FAC57F0D for ; Tue, 28 Oct 2014 13:42:31 +0100 (CET) Received: by mail-wg0-f42.google.com with SMTP id k14so760262wgh.1 for ; Tue, 28 Oct 2014 05:51:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DxTZGDZv9zNNK/J/tl2uRIRZRJgvIEA16j4Zdm5XsuY=; b=ANdduiPA0h+3JlrOM/mDUx6H2ZqyEN5hDprjDOw/ooGEAwGPtcnm0S7c9JNB6cvYlr 5osi+XYomp/A4B2BAEMKFWdG1/ypwnxGHLDtjyv8QmWwNYr6WcHMghZdFvZUz26yXlb6 mVBKQUV7OoFAmscsf/p2ekHCOVcWQQVrud9kg/sduWr6bxrrG09LlWs5kllxKg6amnJi 5/YBDN9HfrgzKqU/b8J7bgdUz758ml21xgCjD0b299u608cKUNM4QYwXN60FG3cQhkHS X9b8P5fTL5ML370xwhaDGlsri+fYSLnatIEQ8jSnDDYnWYzeQjbjrSgu9NkiJbJo5j7T u/4g== X-Gm-Message-State: ALoCoQnnAxibTfGAyVqGc7hRHEcqywmOxN2W8Jif2cpMFCuh88Ri9Ms5cOhoNG9Q+1hzbqUrgcOb X-Received: by 10.180.211.206 with SMTP id ne14mr28496444wic.79.1414500678450; Tue, 28 Oct 2014 05:51:18 -0700 (PDT) Received: from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id ht9sm15314425wib.8.2014.10.28.05.51.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Oct 2014 05:51:17 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Tue, 28 Oct 2014 13:50:56 +0100 Message-Id: <1414500657-23774-10-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1414500657-23774-1-git-send-email-david.marchand@6wind.com> References: <1414500657-23774-1-git-send-email-david.marchand@6wind.com> Cc: bjzhuc@cn.ibm.com Subject: [dpdk-dev] [PATCH v3 09/10] eal: install all arch headers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 12:42:31 -0000 Architecture can have their own specific headers, just install all headers from arch directory. Signed-off-by: David Marchand --- lib/librte_eal/common/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/common/Makefile b/lib/librte_eal/common/Makefile index ddf8b48..499ba4d 100644 --- a/lib/librte_eal/common/Makefile +++ b/lib/librte_eal/common/Makefile @@ -48,11 +48,13 @@ endif GENERIC_INC := rte_atomic.h rte_byteorder.h rte_cycles.h rte_prefetch.h GENERIC_INC += rte_spinlock.h rte_memcpy.h rte_cpuflags.h -ARCH_INC := $(GENERIC_INC) +# defined in mk/arch/$(RTE_ARCH)/rte.vars.mk +ARCH_DIR ?= $(RTE_ARCH) +ARCH_INC := $(notdir $(wildcard $(RTE_SDK)/lib/librte_eal/common/include/arch/$(ARCH_DIR)/*.h)) SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include := $(addprefix include/,$(INC)) SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include += \ - $(addprefix include/arch/$(RTE_ARCH)/,$(ARCH_INC)) + $(addprefix include/arch/$(ARCH_DIR)/,$(ARCH_INC)) SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include/generic := \ $(addprefix include/generic/,$(GENERIC_INC)) -- 1.7.10.4