From patchwork Sun Dec 1 18:46:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 180550 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4276142ile; Sun, 1 Dec 2019 10:48:18 -0800 (PST) X-Google-Smtp-Source: APXvYqw31vOQj6GRu5xcPvz5qQFsSBx94tBRCnaRiwgMe+whzJXJGr1AhhjOaGX+8YfL9Uovy8W6 X-Received: by 2002:a17:902:7c04:: with SMTP id x4mr24065709pll.0.1575226097910; Sun, 01 Dec 2019 10:48:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575226097; cv=none; d=google.com; s=arc-20160816; b=u42tiMCtyDEbAus5xbngvzwhT6VL+mW757lmT6QTFENwayotAXvPeQ7cX0c1v2I9Ec 8s/mp4HUhXBHJ+/cGzH4DoJyIcArbm6ny9g81oe5mg/sZfVGlU4l06MuD4+v+ncNsgeo QJ3q/vuIZebdso36LAV0kj8eeeOsqnjf4JeUjlRYAmVUClGc5iox2VyaAW+Xbx3hQnSH uhVj1nY9T7m3OFWakwydozmIjO6GXBUDbw6bxcz1J9BZi1cRhITR0qLPnFhRwsN+fXJ1 xhRpbaZ2GPkzypvDY6CBHzaVem5ixv3nUp9Jsv/Gqmi/0bdeXtQ2pi2J8y7hOVfVSzzz +hGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=4l8qhT2Z611ahN6VBV0Ja9puXP+u5jBukacTqUrWeEs=; b=fHY90vKF61Thst8Xk6qIYA5n/y/wzB0o2RWUMdtcm3KtnCuQyns89+ecRNLP/ZaUPP QV0RLA/zanrCoJNpZiyFB1hwlmhLNeS9ytEkS13K7/kG6Kv8vd/pA8AsfacGG2YcaDwR wtyY48ILk6Xg2rbfrCt4HqeZSS9Qif+aYnD9C/kGQnvGGR0tPvcnYU3piTVN+kT+vic3 W7sl4lxUzEm9KQbbn10uH4ACziYrYlmT0FIOt2pXajlssxdBQprWZn1OoQooP3MX0l1O RPGiTojM8CueMWBkenniOuVVm5DYVbR4Bzqf+IaTyFJUlBOwD0yYNstgPzgHwwfUxMbn bEUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bZ3csSV5; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k8si26830437pgq.106.2019.12.01.10.48.17; Sun, 01 Dec 2019 10:48:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bZ3csSV5; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AF45D7F7B5; Sun, 1 Dec 2019 18:47:34 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by mail.openembedded.org (Postfix) with ESMTP id 45AAF7F639 for ; Sun, 1 Dec 2019 18:46:41 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id x28so17331575pfo.6 for ; Sun, 01 Dec 2019 10:46:42 -0800 (PST) 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:content-transfer-encoding; bh=Xhnt0gjN0sjV233pr7ktRMq44SGsJM/7/Um+k0Lp5tM=; b=bZ3csSV5XS9u7fnHPXDolesO3J+qCXbcY5UMZ28tFs9lg4AxRkH0SwXg2Ybi5Opvn+ YphhGXYqwNhLoBuK+psCY7006aaAI+axE2qvbXlBVBiZ3I7O/uqjiCpZSUvugmDzydud +9++cBr8bEQzjhJMDizNG4n2miuYMajGQvLCr8KTi5DqKAeE074LvgCO8a4p7hR/vGCA 1pXm0X1TPBcI4KR4Krzfha4BpogGaV3DZ/uTLY1GdKXh8aQeMTMKdEM84f6iOIftM05u JtuTbl1dpElMN1/1deo+QwOQangBxxkEWDD1YkrO0uw88XRLjYCpeAr9goPz1DyLVmGD 9+Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Xhnt0gjN0sjV233pr7ktRMq44SGsJM/7/Um+k0Lp5tM=; b=Frh2kLhAaaSua3zaZ3wstWJk6TFwmVzTRPXcMeh5JgWlF0gT+TX4kGzYm8w0+rNS2M 2ydzkk4mn+HL7aZ5PAGXlmiQM+G/mStcv4uZGaN1Clx/q/OiP8HtVVauZu5ETWCGHP4u rBQw/GCfGihJeAyJZuYHXLjPvhtapLyRrEPcE1m7zzYgP0ICqTvGnW1HYlyVhW+Lyq9s YRQshntwPXcWMx7T4J6dd0p2AMecvGecymnlc4OKTUowRChQ2CPGkt1aX/7S5wRdnLUk IconGY+yo9tNOmhxf6yWj/+uVgzFxdBIkFbBOsIbZGIFO0sCr7khMOmruOa12Gg+FEwL ZFRA== X-Gm-Message-State: APjAAAV2HOqO16MbMVdo8RURCf7l2YfK94i/51igo+5AYzTQGHS+7xkH S8SWgYRO/XQjre3ZvRSVNhvi7Dmq+Io= X-Received: by 2002:a63:fb05:: with SMTP id o5mr3361959pgh.355.1575226001907; Sun, 01 Dec 2019 10:46:41 -0800 (PST) Received: from apollo.localdomain ([2601:646:8500:1c20:55f2:e19b:8d5e:a884]) by smtp.gmail.com with ESMTPSA id y24sm33916800pfr.116.2019.12.01.10.46.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2019 10:46:41 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 1 Dec 2019 10:46:22 -0800 Message-Id: <20191201184622.889513-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191201184622.889513-1-raj.khem@gmail.com> References: <20191201184622.889513-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 9/9] kernel-module-emlog: Use compile task from module bbclass X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This ensures that right CC/LD is used when building the module, which should be KERNEL_CC and KERNEL_LD, otherwise it starts to use DISTRO default ld and cc which could be non-gcc and non-bfd liker which is must for building kernel and modules Also hides a gold linker failure seen on aarch64 | aarch64-yoe-linux-musl-ld: internal error in set_address, at ../../gold/output.h:322 Signed-off-by: Khem Raj Cc: Fabio Berton --- meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb b/meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb index 51f7226ebd..a554a4c947 100644 --- a/meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb +++ b/meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb @@ -7,6 +7,4 @@ EXTRA_OEMAKE += " \ KVER=${KERNEL_VERSION} \ " -do_compile() { - oe_runmake modules -} +MAKE_TARGETS = "modules"