Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6878454pxv; Fri, 30 Jul 2021 04:54:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJKYwF2/FwbyNpGeSXukXvSS334ERzNPMJ6sMYjQ2nc67oGQkLqYWU3l9b2aAYLnom5ZlG X-Received: by 2002:a05:6402:1396:: with SMTP id b22mr2513101edv.380.1627646049165; Fri, 30 Jul 2021 04:54:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627646049; cv=none; d=google.com; s=arc-20160816; b=jQGYOvePLlutcCig5dFcMgjwEOyUy94/o0h+tXgTF70N1eSKG/WyWkhT/gp+T17yb8 oj9kfivYKKK9Z0eETzxCaEnJAuaOcP1gWDpLED7mrJ/Hu0hNo02V7N+wm4netNX8zhUM ZJhSWAVHPFhacK+LbYt+faRA+75cGX8s1PbDTqYcx+iAt8XdCGqg7fLZCrrVeFNYAHD4 J4yUm5dl4dEfw2nsbj80wptZQ9QoKHzxTIfZP+n94DCdfidIJnQpgZR0aPawHO7qgZP5 Y8SPzuePARFwLp6bLC4YRKoVucQKiyNLmvYRB/Qjj27huRRREarTNNIH2gaHp5D47vmQ DlsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from; bh=SZMRnujtdgxdwu1aDGpKQFE/ysJncMXZgPcGrYF3m0o=; b=j/5ipb2dwCfBrfiftAz3noycScx3bEUGPExq7GdB8t4STX6td7hhkTF3Ml1omCi7/s zY/O+ZkaCGGmpCEllr+OTvT0zms16VdCrWWa7h5aAN2tnnxSZXvVYwmKxKIXqO9blQBI fJulmjpG0nf+ttAOOngvrP2MhtgUOkyl8TM6WSZu67KHcBoyn57Xzntw1qiz7ZqgJnhT LlQOx2ZSFgrysbWlnOno1zivkvryjbwNW/r5Ty/SDMcQ5HOxTMekBWcv7cTClfyQ4vQn hz01GkoxZzT9ir9xtcLyRUKSkf6IPgUBeVaselip69BRvgrhlO8nyvnksF16bOeXtnpi +kBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z25si1493190eje.188.2021.07.30.04.53.45; Fri, 30 Jul 2021 04:54:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238665AbhG3LwT convert rfc822-to-8bit (ORCPT + 99 others); Fri, 30 Jul 2021 07:52:19 -0400 Received: from mx1.emlix.com ([136.243.223.33]:42190 "EHLO mx1.emlix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238660AbhG3LwT (ORCPT ); Fri, 30 Jul 2021 07:52:19 -0400 Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id C9B575F82D; Fri, 30 Jul 2021 13:52:05 +0200 (CEST) From: Rolf Eike Beer To: linux-acpi@vger.kernel.org Cc: Zhang Rui , Markus Mayer , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Olsa , Arnaldo Carvalho de Melo , Jiri Kosina Subject: [PATCH 1/2] tools/thermal: tmon: simplify Makefile Date: Fri, 30 Jul 2021 13:49:04 +0200 Message-ID: <1951386.ZPQrlMDjM2@devpool47> Organization: emlix GmbH In-Reply-To: <2149399.oOxd0sxVbX@devpool47> References: <2149399.oOxd0sxVbX@devpool47> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Rolf Eike Beer --- tools/thermal/tmon/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile index 9db867df76794..3e650878ea824 100644 --- a/tools/thermal/tmon/Makefile +++ b/tools/thermal/tmon/Makefile @@ -13,7 +13,6 @@ CC?= $(CROSS_COMPILE)gcc PKG_CONFIG?= pkg-config override CFLAGS+=-D VERSION=\"$(VERSION)\" -LDFLAGS+= TARGET=tmon INSTALL_PROGRAM=install -m 755 -p @@ -33,7 +32,6 @@ override CFLAGS += $(shell $(PKG_CONFIG) --cflags $(STATIC) panelw ncursesw 2> / $(PKG_CONFIG) --cflags $(STATIC) panel ncurses 2> /dev/null) OBJS = tmon.o tui.o sysfs.o pid.o -OBJS += tmon: $(OBJS) Makefile tmon.h $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $(TARGET) $(TMON_LIBS) @@ -42,15 +40,13 @@ valgrind: tmon sudo valgrind -v --track-origins=yes --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./$(TARGET) 1> /dev/null install: - - mkdir -p $(INSTALL_ROOT)/$(BINDIR) - - $(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)" + - $(INSTALL_PROGRAM) -D "$(TARGET)" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)" uninstall: $(DEL_FILE) "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)" clean: - find . -name "*.o" | xargs $(DEL_FILE) - rm -f $(TARGET) + rm -f $(TARGET) $(OBJS) dist: git tag v$(VERSION) -- 2.32.0 -- Rolf Eike Beer, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11 Gothaer Platz 3, 37083 Göttingen, Germany Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160 Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055 emlix - smart embedded open source