From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7268290061228048384 X-Received: by 2002:aa7:cd13:0:b0:523:a21:eda with SMTP id b19-20020aa7cd13000000b005230a210edamr5090324edw.7.1692280653774; Thu, 17 Aug 2023 06:57:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:de84:0:b0:523:2211:d12f with SMTP id j4-20020aa7de84000000b005232211d12fls1377930edv.2.-pod-prod-07-eu; Thu, 17 Aug 2023 06:57:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFt5P7bsN5jekIXZgiihQTeID8ZvV0Gkl/JkhcsNpGPDy4B0vkunTFCaFcJ+JDteBjWD1hh X-Received: by 2002:a05:6402:14cd:b0:525:7091:124c with SMTP id f13-20020a05640214cd00b005257091124cmr4374090edx.19.1692280652121; Thu, 17 Aug 2023 06:57:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692280652; cv=none; d=google.com; s=arc-20160816; b=qe/p582iumP5+jepLjN64TASqwoNi8r0NZKPU6VZjCYchIYcb4rB2fNPT9qwV5D6Wr LmoKqQT2vbqNRtAlHRcuTpOYyY0URnCPHC5JCLelkuf9yhJMzB3L5RsZVNDSxe6KEpD9 07BlC84ZyS8zQFFgvjNKu85PvfhwYtqguqIPy5jKHBkAifSVcWXDouwHKy0oW98AIUIt S2CRwHmLPkRWvLqRoxcMuoB8mNY/elKYj/YgFAQGx08bYQWCDy1lhR1+R5bdmcnHTyBj DHMnP4prbgZuHBHhbVevc8KLD2+SsfsiJye4goOwv14+WedeAndaqOfDivjxHYjuwdQ3 JLsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=xTt4XFgzmh7MCU3D7V1HFEpA6Of5UQswXETrzYeA66A=; fh=zjhl0OK378WjMz2n1mwn4H0ozY7l7bzHE6wkrycOH2o=; b=Hzjzv12YzzkKB3oY98v9l/f3NQSozxubOmGRvKXnYI9Ceu1sP68KGSEcnv/lVHTvJt ZCiaNOfBnZljV5dQK+Wo289eLio9J3K44sA7ZJFJPnSBJWiSal36JPdtigRBghaopPjo INLS5l4QDP9lFgo+oYY5RfP1DwQWBoofrrJ/VylUphiJzKHF7hAeZg6VR3EyAicTuqjJ c1nsWIAVgigxxOeLH0Ic23Ba0ACbOzxh6uHEkTGnH8Cx6cMZYqAI7BDIBAKVV+q8utdm V8ndd/hYyobtO3ySwhFivYNL8FFX2TDTrJDkMHwXKuA6QAB6J8GUpCIINQODq2hCVa1L 4nAQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=dRL9pDVm; spf=pass (google.com: domain of ch@denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=ch@denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by gmr-mx.google.com with ESMTPS id eq5-20020a056402298500b0051e6316130dsi1379947edb.5.2023.08.17.06.57.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Aug 2023 06:57:32 -0700 (PDT) Received-SPF: pass (google.com: domain of ch@denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=dRL9pDVm; spf=pass (google.com: domain of ch@denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=ch@denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Received: from localhost (dslb-002-207-026-146.002.207.pools.vodafone-ip.de [2.207.26.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ch@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id A4AD186B7F; Thu, 17 Aug 2023 15:57:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1692280651; bh=xTt4XFgzmh7MCU3D7V1HFEpA6Of5UQswXETrzYeA66A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dRL9pDVmvADJ+2DUBqjzEBCJduU9xPiC2335tPk/Qxpx3KpR3gUUHAKaHbWpm7qBx l4YPWhzBiKuoKq0Nc2gER0y/qAUazKrT4roz225lCN96ZLsNSPyHWCqvZozziJkX98 3PZLreRZFwN93h30smVdtP9OZZJkx7QSThYtMsZtUESf/M+gHP0j9I+bg6ghjRYdBT oNlUky/MYj9q/wG5T54dEzAfm+0yqCLb2w4UAZ+lc7CtzpSuxCW65qiUxqEFLgoM6i +HjNttSRTu1OPpHaQnEye7ce0/I6Wc2sa7yOZDegjg3AR+NOU55Rvn6RzH6RjOCYZd pdzcwXcGiClMw== From: Claudius Heine To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH 1/2] meta/bitbake.conf: add MACHINEOVERRIDES and DISTROOVERRIDES Date: Thu, 17 Aug 2023 15:57:24 +0200 Message-Id: <20230817135725.2524796-2-ch@denx.de> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230817135725.2524796-1-ch@denx.de> References: <20230817135725.2524796-1-ch@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-TUID: vUkZIlHReqst Replacing MACHINE and DISTRO in the OVERRIDES variable with MACHINEOVERRIDES and DISTROOVERRIDES allows to configure machine or distro compatibilities by prepending to those variables. This is smilar to how OE handles this. In Isar, not setting the DISTRO variable is not supported, therefore we don't need a inline python function for it. Signed-off-by: Claudius Heine --- meta/conf/bitbake.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index c122914b..2398a21b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -72,7 +72,9 @@ KERNEL_FILE:mipsel ?= "vmlinux" KERNEL_FILE:riscv64 ?= "vmlinux" KERNEL_FILE:arm64 ?= "vmlinux" -OVERRIDES = "${PACKAGE_ARCH}:${MACHINE}:${DISTRO}:${BASE_DISTRO_CODENAME}:forcevariable" +MACHINEOVERRIDES ?= "${MACHINE}" +DISTROOVERRIDES ?= "${DISTRO}" +OVERRIDES = "${PACKAGE_ARCH}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${BASE_DISTRO_CODENAME}:forcevariable" FILESOVERRIDES = "${PACKAGE_ARCH}:${MACHINE}" # Setting default QEMU_ARCH variables for different DISTRO_ARCH: -- 2.30.2