From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qc0-x22f.google.com ([2607:f8b0:400d:c01::22f]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XXzK0-0005vM-8N for ptxdist@pengutronix.de; Sat, 27 Sep 2014 23:14:29 +0200 Received: by mail-qc0-f175.google.com with SMTP id o8so8259662qcw.6 for ; Sat, 27 Sep 2014 14:14:21 -0700 (PDT) Date: Sat, 27 Sep 2014 17:14:08 -0400 (EDT) From: Jon Ringle In-Reply-To: Message-ID: References: <1411768011-9200-1-git-send-email-jon@ringle.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-843608511-1411852460=:4123" Subject: Re: [ptxdist] [PATCH] install_dir: Allow one to specify an alternate root dir Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Guillermo Rodriguez Garcia Cc: "Ringle, Jonathan" , "ptxdist@pengutronix.de" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-843608511-1411852460=:4123 Content-Type: TEXT/PLAIN; charset="utf-8" Content-Transfer-Encoding: 8bit On Sat, 27 Sep 2014, Guillermo Rodriguez Garcia wrote: > El viernes, 26 de septiembre de 2014, escribió: > From: Jon Ringle > > This is useful if you install a package to /opt and libs are in /opt/lib: >     $(call install_lib, foo, 0, 0, 0644, libfoo, opt/) > > >  Shouldn't this be handled with DESTDIR in the install target of the package's Makefile? $DESTDIR is used during the .install target to put the files in the packages/ directory. But $(call install_dir ...) and friends are used during the .targetinstall target to put files from the packages/ directory to the root/ and root-debug/ directories. Jon --8323329-843608511-1411852460=:4123 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --8323329-843608511-1411852460=:4123--