Message ID | 20240403051553.257864-2-andrea.righi@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V8XzC2rNyz23ty for <incoming@patchwork.ozlabs.org>; Wed, 3 Apr 2024 16:16:22 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1rrsyl-0003q0-D2; Wed, 03 Apr 2024 05:16:07 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <andrea.righi@canonical.com>) id 1rrsyi-0003pS-8Q for kernel-team@lists.ubuntu.com; Wed, 03 Apr 2024 05:16:04 +0000 Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id DA9A53F274 for <kernel-team@lists.ubuntu.com>; Wed, 3 Apr 2024 05:16:03 +0000 (UTC) Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a4e8e4efe58so96700266b.0 for <kernel-team@lists.ubuntu.com>; Tue, 02 Apr 2024 22:16:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712121363; x=1712726163; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F9g5tppGAAAJ0e3HSDhVJK3hz3SuV3eVzFbhFcqTZRI=; b=N8/ddn06NF//ax5u6gSl7ZbNlZiz34FUzSSG20ijlHx0v0dcaQ/3gKteod9GRIoIDF +ihucVSyknpBDLe+U+D9GFwOJyFZTUs4NICSQh+6wH4mbwXnYtZOMHgx7DAIkLwumwtR /B+WJUoDeuNiUBcU7Rx8ueIfq7dCPRjbvYPiAoafOjf/stnpVJaPE983LnpOHnedYjoE FMKki3o8ZLSIDTW7pnMChGka03p3682I6ePI4z4R40Dzivrd+anzxXYNjbnm1kdo/Wsf cSFaCuQhIfbcZz31jXDL9VDKGZGJDq26woQSRdkd686QjivMpxp2/E0QC2dXR2I4cGJP 9EJg== X-Gm-Message-State: AOJu0YwW8Kn3InGQP/VH39NMwNhdiBrIfoxGLtnxTneC/iX58bzwZw90 KMCK8K9xO8PnC4XKfa766moow7bLWFvbBLFjmhuEOPKTHvra37QSnW9FVa7C+oiR7SIAL6nqraF pLBnB2c4/UmBLHHmW/Slc1xxhM0w0PwwJxCiK4v9Nc0jSxLsZANswWc23O9YIKFc6RXRF0+p07N hM1ghzPNlUxg== X-Received: by 2002:a17:906:d92c:b0:a4e:96fa:e1ba with SMTP id rn12-20020a170906d92c00b00a4e96fae1bamr1196969ejb.3.1712121363280; Tue, 02 Apr 2024 22:16:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH4aQ5OMeTftUa5qQ06xc1HGYPIgh2F3ogdPY0vqh/btkd1UBy/dXOXcttPlTD6RpVJl+Nj0Q== X-Received: by 2002:a17:906:d92c:b0:a4e:96fa:e1ba with SMTP id rn12-20020a170906d92c00b00a4e96fae1bamr1196953ejb.3.1712121362712; Tue, 02 Apr 2024 22:16:02 -0700 (PDT) Received: from localhost.localdomain (host-95-248-169-71.retail.telecomitalia.it. [95.248.169.71]) by smtp.gmail.com with ESMTPSA id ae10-20020a17090725ca00b00a4e657a5f1asm3599298ejc.112.2024.04.02.22.16.02 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 22:16:02 -0700 (PDT) From: Andrea Righi <andrea.righi@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [N/U][PATCH 1/2] UBUNTU: SAUCE: rtla: fix deb build Date: Wed, 3 Apr 2024 07:13:29 +0200 Message-ID: <20240403051553.257864-2-andrea.righi@canonical.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240403051553.257864-1-andrea.righi@canonical.com> References: <20240403051553.257864-1-andrea.righi@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
add Real-time Linux Analysis tool (rtla) to linux-tools
|
expand
|
diff --git a/tools/tracing/rtla/Makefile b/tools/tracing/rtla/Makefile index afd18c678ff5..f4916d402c03 100644 --- a/tools/tracing/rtla/Makefile +++ b/tools/tracing/rtla/Makefile @@ -111,6 +111,9 @@ warnings: $(WARNINGS) $(ERROR_OUT) endif +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + rtla: $(OBJ) $(CC) -o rtla $(LDFLAGS) $(OBJ) $(LIBS)
BugLink: https://bugs.launchpad.net/bugs/2059080 We need to explicitly define build rules for C object files when building the deb, otherwise we may get the following build failure: make[1]: *** No rule to make target 'src/osnoise.o', needed by 'static'. Stop. This doesn't seem to happen when building rtla manually, but we need it when we build the deb package, so add the extra rule to make the build more robust. Signed-off-by: Andrea Righi <andrea.righi@canonical.com> --- tools/tracing/rtla/Makefile | 3 +++ 1 file changed, 3 insertions(+)