From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH 0/3] real "make install" rule Date: Fri, 26 Jul 2013 15:13:42 +0200 Message-ID: To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" The current "make install" rule don't install anything. It builds one or more targets with different configurations. These patches allow to install only files needed to build and run a DPDK appplication. The old behaviour is kept for compatibility and the new behaviour is a second stage triggered by setting the DESTDIR variable. So, the command "make install T=x86_64-default-linuxapp-gcc O=aaa DESTDIR=bbb" will build in aaa/x86_64-default-linuxapp-gcc/ and install in bbb/. The install directory can then be used as RTE_SDK path to build an application. -- Thomas --- Olivier Matz (3): mk: allow to specify O= in install rule mk: in install rule, don't overwrite .config if it already exists mk: allow to specify DESTDIR in build rule doc/build-sdk-quick.txt | 13 +++++++------ mk/rte.sdkbuild.mk | 16 ++++++++++++++++ mk/rte.sdkinstall.mk | 17 +++++++++-------- 3 files changed, 32 insertions(+), 14 deletions(-) -- 1.7.10.4