From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id E5C4B6934 for ; Fri, 9 May 2014 15:31:00 +0200 (CEST) Received: by mail-wg0-f43.google.com with SMTP id l18so3890317wgh.2 for ; Fri, 09 May 2014 06:31:07 -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:subject:date:message-id; bh=EMzrBS5/WE9M/gAH/jT4NFvo8stB8XkIzViiO0/H35o=; b=YIfjvrQD2Zy57HJCqUvaxeO1Eo4CNhe/ueB7TYjLguSjHVCnLDLXPyx1tGpK4+7iCF JwT1fAXma04riUhv8EaCfdLVNJIBPc/Do/diHgHKOHSLrMeRZXmBoHRTiUfokcz4KLsn 4SdGftuk1Nkf6dKhlqlJICgJx5IHy+/23pujMcb1irnlxbW6cJK57RjHjRELpIAN7qQ2 r3azMQJ8BmCL2DNpEEX1hVKqwTzW6WkJLlo4OesmRshoA3sEJQD6DgQQemVECn95nxgo /632E4p4DdF+eW34/Gsscy7ytNv+a+zz+fxLRTkPSA/G3fWzSxnqtj8FEHx0IlZEuEpN iQjw== X-Gm-Message-State: ALoCoQkmiSpo4CHc3HcqYT5JFyN5be6f//T9pbejq2nUcC/KzFTp3XXZuRSqSBCTWBiReiuqc6YY X-Received: by 10.180.99.40 with SMTP id en8mr3494065wib.24.1399642267300; Fri, 09 May 2014 06:31:07 -0700 (PDT) Received: from alcyon.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ct2sm5490682wjb.33.2014.05.09.06.31.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 May 2014 06:31:06 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Fri, 9 May 2014 15:31:01 +0200 Message-Id: <1399642261-19763-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH] mk: add missing scripts directory in install directory 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: Fri, 09 May 2014 13:31:01 -0000 Trying to install headers for an external library using DPDK exported makefile rte.extshared.mk results in following error : $ cd dpdk $ make install DESTDIR=/home/marchand/myapp/staging/plop T=x86_64-default-linuxapp-gcc $ cd ~/myapp $ make RTE_SDK=/home/marchand/myapp/staging/plop RTE_TARGET=x86_64-default-linuxapp-gcc CC plop.o LD plop.so SYMLINK-FILE include/plop.h /bin/sh: /home/marchand/myapp/staging/plop/scripts/relpath.sh: No such file or directory ln: `/home/marchand/myapp/build/include' and `./include' are the same file make[1]: *** [/home/marchand/myapp/build/include/plop.h] Error 1 make: *** [all] Error 2 This comes from the fact that DPDK only installs its mk/ directory while some makefiles require the scripts/ directory content as well. So install missing files from scripts/. Signed-off-by: David Marchand --- mk/rte.sdkbuild.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk index 2975ee4..d4d6c05 100644 --- a/mk/rte.sdkbuild.mk +++ b/mk/rte.sdkbuild.mk @@ -63,7 +63,7 @@ build: $(ROOTDIRS-y) @echo Build complete ifneq ($(DESTDIR),) $(Q)mkdir -p $(DESTDIR) - $(Q)tar -C $(RTE_SDK) -cf - mk | tar -C $(DESTDIR) -x \ + $(Q)tar -C $(RTE_SDK) -cf - mk scripts/*.sh | tar -C $(DESTDIR) -x \ --keep-newer-files --warning=no-ignore-newer -f - $(Q)mkdir -p $(DESTDIR)/`basename $(RTE_OUTPUT)` $(Q)tar -C $(RTE_OUTPUT) -chf - \ -- 1.7.10.4