Skip to content

Commit

Permalink
tools/power/acpi: Minor bugfixes
Browse files Browse the repository at this point in the history
 - 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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
watologo1 authored and rafaeljw committed Apr 21, 2014
1 parent a798c10 commit 75e4f20
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tools/power/acpi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 75e4f20

Please sign in to comment.