Line
Link Here
|
0 |
-- cpupower/bench/Makefile |
0 |
++ cpupower/bench/Makefile |
Lines 16-22
Link Here
|
16 |
|
16 |
|
17 |
$(OUTPUT)cpufreq-bench: $(OBJS) |
17 |
$(OUTPUT)cpufreq-bench: $(OBJS) |
18 |
$(ECHO) " CC " $@ |
18 |
$(ECHO) " CC " $@ |
19 |
$(QUIET) $(CC) -o $@ $(CFLAGS) $(OBJS) $(LIBS) |
19 |
$(QUIET) $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) |
20 |
|
20 |
|
21 |
all: $(OUTPUT)cpufreq-bench |
21 |
all: $(OUTPUT)cpufreq-bench |
22 |
|
22 |
|
23 |
-- cpupower/Makefile |
23 |
++ cpupower/Makefile |
Lines 34-40
Link Here
|
34 |
|
34 |
|
35 |
# Set the following to `true' to make a unstripped, unoptimized |
35 |
# Set the following to `true' to make a unstripped, unoptimized |
36 |
# binary. Leave this set to `false' for production use. |
36 |
# binary. Leave this set to `false' for production use. |
37 |
DEBUG ?= true |
37 |
DEBUG ?= false |
38 |
|
38 |
|
39 |
# make the build silent. Set this to something else to make it noisy again. |
39 |
# make the build silent. Set this to something else to make it noisy again. |
40 |
V ?= false |
40 |
V ?= false |
Lines 57-63
Link Here
|
57 |
# Package-related definitions. Distributions can modify the version |
57 |
# Package-related definitions. Distributions can modify the version |
58 |
# and _should_ modify the PACKAGE_BUGREPORT definition |
58 |
# and _should_ modify the PACKAGE_BUGREPORT definition |
59 |
|
59 |
|
60 |
VERSION= $(shell ./utils/version-gen.sh) |
60 |
VERSION= $(PV) |
61 |
LIB_MAJ= 0.0.0 |
61 |
LIB_MAJ= 0.0.0 |
62 |
LIB_MIN= 0 |
62 |
LIB_MIN= 0 |
63 |
|
63 |
|
Lines 72-82
Link Here
|
72 |
|
72 |
|
73 |
bindir ?= /usr/bin |
73 |
bindir ?= /usr/bin |
74 |
sbindir ?= /usr/sbin |
74 |
sbindir ?= /usr/sbin |
75 |
mandir ?= /usr/man |
75 |
mandir ?= /usr/share/man |
76 |
includedir ?= /usr/include |
76 |
includedir ?= /usr/include |
77 |
libdir ?= /usr/lib |
77 |
libdir ?= /usr/lib |
78 |
localedir ?= /usr/share/locale |
78 |
localedir ?= /usr/share/locale |
79 |
docdir ?= /usr/share/doc/packages/cpupower |
79 |
docdir ?= /usr/share/doc/$(P) |
80 |
confdir ?= /etc/ |
80 |
confdir ?= /etc/ |
81 |
|
81 |
|
82 |
# Toolchain: what tools do we use, and what options do they need: |
82 |
# Toolchain: what tools do we use, and what options do they need: |
Lines 176-182
Link Here
|
176 |
STRIPCMD = /bin/true -Since_we_are_debugging |
176 |
STRIPCMD = /bin/true -Since_we_are_debugging |
177 |
else |
177 |
else |
178 |
CFLAGS += $(OPTIMIZATION) -fomit-frame-pointer |
178 |
CFLAGS += $(OPTIMIZATION) -fomit-frame-pointer |
179 |
STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment |
179 |
STRRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment |
180 |
endif |
180 |
endif |
181 |
|
181 |
|
182 |
|
182 |
|
Lines 208-214
Link Here
|
208 |
$(OUTPUT)cpupower: $(UTIL_OBJS) $(OUTPUT)libcpupower.so.$(LIB_MAJ) |
208 |
$(OUTPUT)cpupower: $(UTIL_OBJS) $(OUTPUT)libcpupower.so.$(LIB_MAJ) |
209 |
$(ECHO) " CC " $@ |
209 |
$(ECHO) " CC " $@ |
210 |
$(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lcpupower -lrt -lpci -L$(OUTPUT) -o $@ |
210 |
$(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lcpupower -lrt -lpci -L$(OUTPUT) -o $@ |
211 |
$(QUIET) $(STRIPCMD) $@ |
|
|
212 |
|
211 |
|
213 |
$(OUTPUT)po/$(PACKAGE).pot: $(UTIL_SRC) |
212 |
$(OUTPUT)po/$(PACKAGE).pot: $(UTIL_SRC) |
214 |
$(ECHO) " GETTEXT " $@ |
213 |
$(ECHO) " GETTEXT " $@ |