From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7319440801196408832 X-Received: by 2002:a25:d0d2:0:b0:dbd:b21d:de7a with SMTP id h201-20020a25d0d2000000b00dbdb21dde7amr2318837ybg.122.1704785614769; Mon, 08 Jan 2024 23:33:34 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a25:e093:0:b0:dbd:4632:de3 with SMTP id x141-20020a25e093000000b00dbd46320de3ls541845ybg.0.-pod-prod-06-us; Mon, 08 Jan 2024 23:33:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4rdF22st5duhcj1ROBRnNpotja3XOCIWD0qVmxTnBry+RHbpmiznZABX48o0w9YvLHqaw X-Received: by 2002:a05:6902:1b93:b0:dbd:130f:651f with SMTP id ei19-20020a0569021b9300b00dbd130f651fmr2583281ybb.109.1704785613775; Mon, 08 Jan 2024 23:33:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704785613; cv=none; d=google.com; s=arc-20160816; b=HZQQ4WssGfGDa8QF23hyDY6sNbTBafeX0X9Yl7Ra0vfuhajezE+CUT1ZyJ9LoUHchB Gy+tIS5DrF5mwA+TuWqRaNM0I3HcXj8rJ+KvHEoGy4kqEikgLPcLLMZPn3HHHVQvwvwZ tzBE1l/it4+wSQxEYGMOoeArHEcesHONFEXBkBU2cgLj0M7vfVeCmmF0uU0izVSKXq9K Vagz+XfpKuZ27Py0uWyVrbKTjxLz80cJK4Q4e8JQTnKKRTzwMf0kQi5NR4Uxn/YmscRz +LmRsWDF2WXFOoJWHDZaXKTiB6bnrIU8oxOMehrU6TPyG/KKaZSW8uG495IahisHGizv dpOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=9xTTp/Ox8irDijbpOoi2iJZCANkYLvIT7i+cmlaMUdI=; fh=xxo2rOAPT4f31TY31yIWVuVlno6QMa2Pdllc3KKolm0=; b=GCOa0jDKD7etBX5RuNBXHAcefFKkxEqZYEcyIyLROX38N1DoHvX36SgzB6eTZIDXeo GoBFd+l9bVsxCxiUOLvfrKUuFJHTWznoy/lSdm2YnGLSXH2qqbtZHSpYddTfjelH5mz+ JkAcTPZ02CG4fT4IAhY8rD9ZaxUU35IWk/L8UI8KyuwJemevPdl8OaYZF3+dV573sdPL S/byo1RSAUjgoFMQcjxyD5fl5st0DfEM5kuHJzHAIeE+cS6gp1fAuDfErY8gHtlqF0Wt 1LHzuKrUs790jmcuCWeoxTW2sg62fdEfCqoa/EfLqkFvYKaRvbuZZRmJhQs+13MREjRd M16Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=gmt5ssgu; spf=pass (google.com: domain of fm-294854-20240109073331867bf82199f1f60719-1zooys@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-294854-20240109073331867bf82199f1f60719-1zooYS@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Return-Path: Received: from mta-65-225.siemens.flowmailer.net (mta-65-225.siemens.flowmailer.net. [185.136.65.225]) by gmr-mx.google.com with ESMTPS id 126-20020a251984000000b00dbdaeed38d7si80167ybz.3.2024.01.08.23.33.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jan 2024 23:33:33 -0800 (PST) Received-SPF: pass (google.com: domain of fm-294854-20240109073331867bf82199f1f60719-1zooys@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) client-ip=185.136.65.225; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=gmt5ssgu; spf=pass (google.com: domain of fm-294854-20240109073331867bf82199f1f60719-1zooys@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-294854-20240109073331867bf82199f1f60719-1zooYS@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: by mta-65-225.siemens.flowmailer.net with ESMTPSA id 20240109073331867bf82199f1f60719 for ; Tue, 09 Jan 2024 08:33:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=9xTTp/Ox8irDijbpOoi2iJZCANkYLvIT7i+cmlaMUdI=; b=gmt5ssgu+PNJCQ+wyjUqDC39ScUQPUVo6XydZICk5N7oaeIlxKowx6LCQAiwD84rRtJGsL qYVO1gsOTXDQUGRn67PpSnmdYGEMV/IUW8Rpi2aor+Fz5Qo7fROQ+P09VoQy5W3JxQdkD1uG x2nfKb0dl2uJkKSS3mw2Ub3GSXeiQ=; From: Jan Kiszka To: isar-users Cc: Felix Moessbauer Subject: [PATCH v2 4/8] meta-isar: jh7110-u-boot-spl-tool: Rework Date: Tue, 9 Jan 2024 08:33:20 +0100 Message-Id: <7b4f32f614c62659686ce4cfe3984a7d9c64b3ab.1704785604.git.jan.kiszka@siemens.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-TUID: SDMyZzrZ5S/T From: Jan Kiszka Install the binary as normal tool under /usr/bin to simplify its usage. Signed-off-by: Jan Kiszka --- meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules | 2 +- ...110-u-boot-spl-tool_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/{jh7110-u-boot-spl-tool_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} (85%) diff --git a/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules b/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules index 6a25dd36..a8b2c6b8 100644 --- a/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules +++ b/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules @@ -4,7 +4,7 @@ U_BOOT_SPL_BIN := /usr/lib/u-boot/starfive-visionfive2/u-boot-spl.bin override_dh_auto_build: cp $(U_BOOT_SPL_BIN) u-boot-spl.bin - /usr/lib/jh7110-uboot-spl-tool/spl_tool -c -f u-boot-spl.bin + spl_tool -c -f u-boot-spl.bin %: dh \$@ diff --git a/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb b/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.2.bb similarity index 85% rename from meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb rename to meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.2.bb index 37b52ab3..6c998029 100644 --- a/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb +++ b/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.2.bb @@ -16,7 +16,7 @@ S = "${WORKDIR}/tools/spl_tool" do_prepare_build[cleandirs] += "${S}/debian" do_prepare_build(){ deb_debianize - echo "spl_tool usr/lib/jh7110-uboot-spl-tool" > ${S}/debian/${BPN}.install + echo "spl_tool usr/bin" > ${S}/debian/${BPN}.install } COMPATIBLE_MACHINE = "starfive-visionfive2" -- 2.35.3