From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 29 Jul 2022 12:38:23 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oHNNv-003Ty5-Je for lore@lore.pengutronix.de; Fri, 29 Jul 2022 12:38:23 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oHNNu-0004On-MS; Fri, 29 Jul 2022 12:38:22 +0200 Received: from mail.ela-soft.com ([213.23.49.162]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oHNNP-0004Oc-BB for ptxdist@pengutronix.de; Fri, 29 Jul 2022 12:37:51 +0200 Received: from [10.0.1.142] (tupai.ela-bln.local [10.0.1.142]) by mail.ela-soft.com (mailsystem) with ESMTPSA id 88807E437 for ; Fri, 29 Jul 2022 12:37:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ela-soft.com; s=2021; t=1659091070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LpugM/boBiKbL7eN900g4g8ra1CdHJ1ljxGgiPi0vns=; b=q8XtZef7SGfOVLZFlLc2znz2fZvKTNrPQHwog0fyLJh4vuldOlup2Zrcbw+G1iOhLkl8U6 bEFlGZ98SFueIApyJai9028kkGX9SdivtbJPnIGvgOtxT+Hj9RWZ8T3z39AFVPLhkyOmQA 61wpossjV9jmcEliScnvQobBgIlB8N8nAczi4HeQZQkELM3c/NZfb18B7MvlVeue9sNEfk uc9tyn50ibLfGDtkYnIz/4pOhIQT6CcdQQ1LQ7ZobKBuU+9ZHsaQLkdhWrW8oqovmhQWln VfFJEACX6pC15T8L1kB+oDmmLjY/Nw4czgUKx5zxOTQZ4UmACG4QgBik/op6RA== Message-ID: <418570e2-7fbd-f917-3cad-98e52247d275@ela-soft.com> Date: Fri, 29 Jul 2022 12:37:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 To: ptxdist@pengutronix.de Content-Language: en-US From: Andreas Helmcke Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-102.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] Problems with own get rule X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hello, i have defined my own get rule to fetch some sources from svn. I did not use the buildin svn support because: 1. there are different svn targets which must get checked out to specific directories 2. i want to use tags, not revision numbers This works pretty well, there is only one problem. After ptxdist menuconfig is called to change the version number, the compile step fails with missing directory because the get rule wont get called. It should, since the source directory does not exists (the directory name contains the version (tag) name). Any advice is appreciated. Thanks, Andreas The make file has this rules: > # > # We provide this package > # > PACKAGES-$(PTXCONF_FOO) += foo > > # > # Paths and names > # > FOO_VERSION := $(call ptx/config-version, PTXCONF_FOO) > FOO_MD5 := > FOO := foo-$(FOO_VERSION) > FOO_SRC_DIR := $(PTXDIST_WORKSPACE)/svn_src/$(FOO) > FOO_URL := lndir://$(FOO_SRC_DIR) > FOO_DIR := $(BUILDDIR)/$(FOO) > FOO_LICENSE := unknown > > FOO_SVN_BASE_URL := \ > https://subversion.company.com/entwicklung/foo_bar/foo/tags/$(FOO_VERSION) > > # ---------------------------------------------------------------------------- > # Get > # ---------------------------------------------------------------------------- > > $(STATEDIR)/foo.get: > @$(call targetinfo) > @$(call clean, $(FOO_SRC_DIR)) > @svn export \ > $(FOO_SVN_BASE_URL)/foo/phyCard-release $(FOO_SRC_DIR)/foo/phyCard-release > @svn export \ > $(FOO_SVN_BASE_URL)/foo/src $(FOO_SRC_DIR)/foo/src > @$(call touch) > > > # ---------------------------------------------------------------------------- > # Extract > # ---------------------------------------------------------------------------- > > $(STATEDIR)/foo.extract: > @$(call targetinfo) > @$(call clean, $(FOO_DIR)) > @$(call extract, FOO) > @$(call patchin, FOO) > @$(call touch)