From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from hulk.biessmann.org ([62.75.166.25]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RWErP-0006rB-Ns for ptxdist@pengutronix.de; Thu, 01 Dec 2011 23:12:09 +0100 Received: from dslb-188-110-194-165.pools.arcor-ip.net ([188.110.194.165] helo=andreas-mbp.erlangen.biessmann.tld) by hulk.biessmann.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RWErL-0008Vu-Ie for ptxdist@pengutronix.de; Thu, 01 Dec 2011 23:12:07 +0100 From: =?iso-8859-1?Q?Andreas_Bie=DFmann?= Mime-Version: 1.0 (Apple Message framework v1251.1) Date: Thu, 1 Dec 2011 23:11:56 +0100 In-Reply-To: <20111201182239.GB32672@pengutronix.de> References: <1319226812-41219-1-git-send-email-andreas@biessmann.de> <1322181620-32914-1-git-send-email-andreas@biessmann.de> <1322181620-32914-2-git-send-email-andreas@biessmann.de> <20111201182239.GB32672@pengutronix.de> Message-Id: <4A32BF1F-5F0F-4506-8DE3-34D94059A3B6@biessmann.de> Subject: Re: [ptxdist] [PATCH v2 1/2] add install-environment Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1889153097==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1889153097== Content-Type: multipart/signed; boundary="Apple-Mail=_41A9353B-36B6-4D35-92E6-DC02848861DF"; protocol="application/pkcs7-signature"; micalg=sha1 --Apple-Mail=_41A9353B-36B6-4D35-92E6-DC02848861DF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Dear Michael, Am 01.12.2011 um 19:22 schrieb Michael Olbrich: > On Fri, Nov 25, 2011 at 01:40:19AM +0100, Andreas Bie=DFmann wrote: >> +install-environment: all dirty-check >> + @echo "preparing PTXdist environment in $(DESTDIR)$(instdir)/bin = ..." >> + @rm -fr "$(DESTDIR)$(instdir)" >> + @mkdir -p "$(DESTDIR)$(instdir)" >> + @mkdir -p $(DESTDIR)$(instdir)/bin >> + @ln -sf @SED@ $(DESTDIR)$(instdir)/bin/sed >=20 >=20 > I think this should happen during "make all". In many cases = (especially > when using master) an uninstalled ptxdist is used. This should not act > differently. Something like this I think: >=20 > all: kconfig environment >=20 > kconfig: > # this was "all" before >=20 > environment: > # the new stuff to create the links. But I imply to install the links to $(DESTDIR)$(instdir) which is in = fact installation phase and should be separated from build phase (as it = is now). So do you mean we should prepare the environment in $(PWD)/bin = and then in a second step install it through tar? > And please add python and awk as well. Will do. best regards Andreas Bie=DFmann= --Apple-Mail=_41A9353B-36B6-4D35-92E6-DC02848861DF Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIDHzCCAxsw ggIDoAMCAQICAQEwCwYJKoZIhvcNAQEFMEExGjAYBgNVBAMMEUFuZHJlYXMgQmllw59tYW5uMSMw IQYJKoZIhvcNAQkBDBRhbmRyZWFzQGJpZXNzbWFubi5kZTAeFw0wODEyMjMyMzM1NTZaFw0xODEy MjEyMzM1NTZaMEExGjAYBgNVBAMMEUFuZHJlYXMgQmllw59tYW5uMSMwIQYJKoZIhvcNAQkBDBRh bmRyZWFzQGJpZXNzbWFubi5kZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ3mWAbF /ora+8IBVvX+EnD2A7mbefKR/OvpfVT2lGF4f47NaemrD+T279WG8wvv90SVC/0RAtQD6I2TcJwx anyebz24JvsPrLT4zrVts6B/qzFr1WcdcR3iwx73RlVR5uryGvmOjWTcUnYkIMJznA0YkdYMDMF5 1Zsm6VUBhFGx3nGcLck7kddFqtWH4Myko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vUdqi6KAs+dUwOgKwW+xUpeq+52YWDXUpXyWV+l2n aH9Bb7BS3Yn0y1O3LBzk++NYW4mnt+ymr3e/7lKN08bYq9oo8TPdNmH3s1c+3UMGkpZoYxgMerYG 5ul8jAAAAAAAAA== --Apple-Mail=_41A9353B-36B6-4D35-92E6-DC02848861DF-- --===============1889153097== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1889153097==--