From patchwork Tue Jul 28 16:52:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Watt X-Patchwork-Id: 1337925 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::c3b; helo=mail-oo1-xc3b.google.com; envelope-from=swupdate+bncbcz3hh5gu4jbbrfpqh4qkgqedaqlpwq@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=emJW1cIC; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=L09l3iWa; dkim-atps=neutral Received: from mail-oo1-xc3b.google.com (mail-oo1-xc3b.google.com [IPv6:2607:f8b0:4864:20::c3b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BGN545GYGz9sRK for ; Wed, 29 Jul 2020 02:52:23 +1000 (AEST) Received: by mail-oo1-xc3b.google.com with SMTP id j13sf11024311ooe.22 for ; Tue, 28 Jul 2020 09:52:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595955140; cv=pass; d=google.com; s=arc-20160816; b=xnxi9mCjSWh364FoKKxZr/VFurqEW1tYsFTZawmGQbmFkyuqle/7c10S4navUJOHtF XcKategNt7xoVZkTH6KwXr2ZV1NBLitli0t96rsRZkEXOnifVNKUsBICkTHYJ9qmBcGR 1EP3pczf3pl5eo5QyVPm8qiot4TpjaucHWIvom17KHeV4UGKH5WofMgcXrWFpCtZ3TEr J+f25+LhxIfFpIQp4wOhpNbPAQkLBDifMVv66iJ3iobhnWQkxQbnT/wQKWpnWZhFTZpQ SB/sp6iTj7uXZmT4TAEyAu50NF3z8iXRRF2UJ/CADm9KtuePFDpHo0vt9hBlFttiNeAr /EeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature :dkim-signature; bh=9DmJ85dxKSEBxbHyuCuXR6YUKYu8ra9gREFlfj2LY78=; b=MYddoOGcsC6/UhZ0hBEjPvWcJv0X9nHD+KtwwTHkb5O8GDNRfaYwDpXYKV0/Z/9bN0 5Ebk0RVQCgZIhgcj+Rg6ACe+0+OHmI+axsJpiSAj20Yd7+lOtmhms5Jwt7NJVB3AkoFC 52bwqD5JHUvqPo1SbW+TmWVHyWpjpv7PcRjd0VGK4kOM/MNXqvKC9QuAqA4AWh6cZlkY pbdvQDuMZgyp5SBIz8HN+7fR2YDnwIZ5CxUfWCCjF07V4VucUQYR7ak1yvBGVA8hFcqI pCz5z9KoAudeDne6NXsJD493PyQRtFo0AIek835M7oVeiit0RVccNKvnm8+fTJ6A/cDz qAFA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q6Y8Tpvz; spf=pass (google.com: domain of jpewhacker@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=jpewhacker@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=9DmJ85dxKSEBxbHyuCuXR6YUKYu8ra9gREFlfj2LY78=; b=emJW1cICpUh8Ndx0fkYt1KOmNkjkUc+5Qn5lH6WPCUW9UUUGAfomRcfY/culOLTEuV Eobh51MWnLRK+rI78qpnqYiWkDHlfLknh9yCeYPgd7G5YHfwoKgI8BEJgu3H/sB1p+3a xQVabvMr42eIwOnq51H3zt6YJlKrvEomBSOVQXK1LRsfUaOFLn605BYLTdxIP+OFgFHY ab+SAno4ju2T/Os5m8iJQ+OdyYa4OnewB7r3UsZ1UUQwAqA1DjvUzcMeu50N8qFzPi4x Y3CelkXkE9/T0wgGtq3qtX5+5JZAXmKCU2B9Vnfkepzjh5prpoZg/oXhillsfCxxKpCT +kxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=9DmJ85dxKSEBxbHyuCuXR6YUKYu8ra9gREFlfj2LY78=; b=L09l3iWaIOlXVbOQ7UVsbdiHHgaVOHUsudMD29uOiqtUHn0fmguxsVd4yMf/P5PpQp fVuyjlwKutVmM4XUUADPLe/CGfeIrCubN7NOJ2cWy9+O9od9VYGNWmCrw0l1r5tcBEP7 Fzgxccy26QZUObho/kypz9YkQ4g+JaxBB5YEuOpyyPggQIvW4rDs8ZcUb68akxRgeeq2 qgcCcdrnh4mibVmsrpk5puCsmBoNe7PXfV3KTNra1xB/7N2BHQCNUIuBdkrt6RxR3wUn jzllx6sSFAk8irwdhZKhnthj0ZV65XfvENX3/xX75cUSluf5jw4nwYpoLJkVw91pU0ad OO6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=9DmJ85dxKSEBxbHyuCuXR6YUKYu8ra9gREFlfj2LY78=; b=sZa/UaT1sU/zkM6bErdVSPlWcUIgZsrl2F2ORkaDL38Jc6lg6DRvSjCXKBYLN5HA5T Lj4mty5nmTB9KEkuCg8qaIoWwI5HrFtKUu5uhAxhtdRzgQ8pBvg9R98WsiFGE6MUGIr/ WfDeP8snqgZuEAYGxvGFWFwfsIdw++O0CjMqt0tvyMpnfMA3PMFPANVY0z0WYQtcycuk Xu3E+mv/VRjHLbtEalUu3mAi/sSkJibteWBjGskuEvbMIbl7QlBBeIk7fM1f7c+79Sad JuiuylA88ptE6cdihQGF+d8ouO7tKg8Yn7NtqG6aNTOqxyNPPho7dyGSJUFx8JMVacuh fgkQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM532/RaKjCaixhDYvm213GrL9elGOM5oA4DhZlU1ELyr+64MGbb/Z POiF9YAjZi+lh8NBPL068es= X-Google-Smtp-Source: ABdhPJxEMh+vrDPcn5VQBqZJzfY44U/+ncXk3HT13Qf6kss6SEsJAGzL6LJuzgmVTrNHJ6N2rbQCGg== X-Received: by 2002:a05:6830:1dbc:: with SMTP id z28mr23943802oti.246.1595955140582; Tue, 28 Jul 2020 09:52:20 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a9d:644a:: with SMTP id m10ls4190623otl.7.gmail; Tue, 28 Jul 2020 09:52:20 -0700 (PDT) X-Received: by 2002:a9d:6d91:: with SMTP id x17mr25167304otp.176.1595955139959; Tue, 28 Jul 2020 09:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595955139; cv=none; d=google.com; s=arc-20160816; b=j3wb1YUjpMM7pIExcL8LWsW8muo2ptJdxTRvL/ut4SFl6OB/3n0kRrVhD9OETtIiAM jJ388Z7+BEKuWm4K3osgbfjt3CVkElxmufO5n5ZlGeklau7gyGIc2+Bf1XLxTP5gNTxa uSCXGi6JNoxTGa4F5KpFkB5aBoisR+mpI7lDauL5vLb6l1iPSHzv5DShZbBRXL48tIyZ 58VrDVkMWtY2pk6atI9+mI8DHCGoe7W0HTzzAL8qiIUYwMiM2FfBGLyT4oeU8YGdMK4G GrPAycJexuSiJJkIHdKEBehCWIfFbX1qMcTMD5pytWZwz2RZD31wpRnf7iU6LoT0by5P kMvA== 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=4E8DqP9VKSffYUgTrYlQbF8p+ugIMihM2YBhGCZsHXw=; b=v/ur17Vv8axTSIMmB8Aell/D2GV22xKq7XH5MvNrt+kptDFrmhx+b0IPUdbIuy8N4e 4kt1PDsyNCo0NssvnsfIsLjt6aZG/J3ulPmKOKZwcHORrmOxYaejFg8oTmb7H7JkvLsp s1YsPjIpzq31Sd8VQON2MnM5zYH1iVE93GYWXlELhDipYdZmvjKpicQZKPAZFcu9NXB8 Fd28iPYRDx/8OOMPWPOiQMM31G2Qw4e4ZzaDlJA2doOvLBbNBvFfP16O4eYLjrfX10k/ VhYUNKIqgtSuMxi+LoKzAAujr0RhkEHi63R0HyFVs3r5S9myZ+Nu42rGQKdGarimxenf hyfg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q6Y8Tpvz; spf=pass (google.com: domain of jpewhacker@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=jpewhacker@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com. [2607:f8b0:4864:20::d42]) by gmr-mx.google.com with ESMTPS id i189si632914oib.0.2020.07.28.09.52.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Jul 2020 09:52:19 -0700 (PDT) Received-SPF: pass (google.com: domain of jpewhacker@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) client-ip=2607:f8b0:4864:20::d42; Received: by mail-io1-xd42.google.com with SMTP id j8so9111534ioe.9 for ; Tue, 28 Jul 2020 09:52:19 -0700 (PDT) X-Received: by 2002:a5e:dd4c:: with SMTP id u12mr26607914iop.93.1595955139331; Tue, 28 Jul 2020 09:52:19 -0700 (PDT) Received: from localhost.localdomain ([2605:a601:ac3d:c100:8884:5f51:bc84:89b5]) by smtp.gmail.com with ESMTPSA id u62sm10524014ilc.87.2020.07.28.09.52.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 09:52:18 -0700 (PDT) From: Joshua Watt To: swupdate@googlegroups.com Cc: Joshua Watt Subject: [swupdate] [meta-swupdate][PATCH v2] swupdate: Set build flags Date: Tue, 28 Jul 2020 11:52:08 -0500 Message-Id: <20200728165208.17677-1-JPEWhacker@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200710135008.9085-1-JPEWhacker@gmail.com> References: <20200710135008.9085-1-JPEWhacker@gmail.com> MIME-Version: 1.0 X-Original-Sender: JPEWhacker@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q6Y8Tpvz; spf=pass (google.com: domain of jpewhacker@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=jpewhacker@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Sets the recipe build flags in the default configuration file. This ensures that swupdate is correctly compiled with the flags that are set by build, for example ensuring that debug symbols are present. Signed-off-by: Joshua Watt --- recipes-support/swupdate/swupdate.inc | 7 ++++++- recipes-support/swupdate/swupdate/defconfig | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index b65fb86..94da375 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -191,7 +191,12 @@ python () { } do_configure () { - cp ${WORKDIR}/defconfig ${WORKDIR}/.config + cat > ${WORKDIR}/.config <> ${WORKDIR}/.config + merge_config.sh -O ${B} -m ${WORKDIR}/.config ${@" ".join(find_cfgs(d))} (cd ${S} && cml1_do_configure) } diff --git a/recipes-support/swupdate/swupdate/defconfig b/recipes-support/swupdate/swupdate/defconfig index b9b1b7a..ca4afa8 100644 --- a/recipes-support/swupdate/swupdate/defconfig +++ b/recipes-support/swupdate/swupdate/defconfig @@ -36,8 +36,6 @@ CONFIG_LUAPKG="lua" # CONFIG_CROSS_COMPILE="" CONFIG_SYSROOT="" -CONFIG_EXTRA_CFLAGS="" -CONFIG_EXTRA_LDFLAGS="" CONFIG_EXTRA_LDLIBS="" #