linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: rjw@rjwysocki.net
Cc: lv.zheng@intel.com, linux-acpi@vger.kernel.org,
	Thomas Renninger <trenn@suse.de>
Subject: [PATCH 1/4] tools/power/acpi: Minor bugfixes
Date: Mon,  7 Apr 2014 15:16:54 +0200	[thread overview]
Message-ID: <1396876617-53345-2-git-send-email-trenn@suse.de> (raw)
In-Reply-To: <1396876617-53345-1-git-send-email-trenn@suse.de>

- bindir is created, but sbindir is used -> fix that
- the debug parts are there twice (copy paste bug?). Remove one of the
  exact same parts

Signed-off-by: Thomas Renninger <trenn@suse.de>
---
 tools/power/acpi/Makefile |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/tools/power/acpi/Makefile b/tools/power/acpi/Makefile
index d9186a2..c2c0f20 100644
--- a/tools/power/acpi/Makefile
+++ b/tools/power/acpi/Makefile
@@ -89,15 +89,6 @@ else
 	STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment
 endif
 
-# if DEBUG is enabled, then we do not strip or optimize
-ifeq ($(strip $(DEBUG)),true)
-	CFLAGS += -O1 -g -DDEBUG
-	STRIPCMD = /bin/true -Since_we_are_debugging
-else
-	CFLAGS += $(OPTIMIZATION) -fomit-frame-pointer
-	STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment
-endif
-
 # --- ACPIDUMP BEGIN ---
 
 vpath %.c \
@@ -128,7 +119,7 @@ clean:
 	-rm -f $(OUTPUT)acpidump
 
 install-tools:
-	$(INSTALL) -d $(DESTDIR)${bindir}
+	$(INSTALL) -d $(DESTDIR)${sbindir}
 	$(INSTALL_PROGRAM) $(OUTPUT)acpidump $(DESTDIR)${sbindir}
 
 install-man:
-- 
1.7.6.1


  reply	other threads:[~2014-04-07 13:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-07 13:16 Introduce acpi_validate and ec_acces in tools/power/acpi Thomas Renninger
2014-04-07 13:16 ` Thomas Renninger [this message]
2014-04-08  2:19   ` [PATCH 1/4] tools/power/acpi: Minor bugfixes Zheng, Lv
2014-04-21 21:10     ` Rafael J. Wysocki
2014-04-07 13:16 ` [PATCH 2/4] tools/power/acpi: Make makefile work per subdirectory Thomas Renninger
2014-04-08  1:58   ` Zheng, Lv
2014-04-07 13:16 ` [PATCH 3/4] tools/power/acpi: Introduce acpi_validate with manpage for easy validation of ACPI BIOS tables Thomas Renninger
2014-04-08  2:34   ` Zheng, Lv
2014-04-07 13:16 ` [PATCH 4/4] tools/power/acpi: Introduce ec_access.c - tool to access the Embedded Controller (EC) safely for debugging purposes Thomas Renninger
2014-04-08  2:09 ` Introduce acpi_validate and ec_acces in tools/power/acpi Zheng, Lv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1396876617-53345-2-git-send-email-trenn@suse.de \
    --to=trenn@suse.de \
    --cc=linux-acpi@vger.kernel.org \
    --cc=lv.zheng@intel.com \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).