Lines 31-37
Link Here
|
31 |
fi |
31 |
fi |
32 |
|
32 |
|
33 |
MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)" |
33 |
MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)" |
34 |
BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_DIR}" |
34 |
BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}" |
35 |
BUILD_TARGETS="default" |
35 |
BUILD_TARGETS="default" |
36 |
|
36 |
|
37 |
if use hdaps; then |
37 |
if use hdaps; then |
Lines 46-51
Link Here
|
46 |
|
46 |
|
47 |
# Remove usage of `sudo` in Makefile. |
47 |
# Remove usage of `sudo` in Makefile. |
48 |
sed -i 's,sudo ,,' Makefile |
48 |
sed -i 's,sudo ,,' Makefile |
|
|
49 |
|
50 |
# don't redefine CFLAGS as per kernel requirements |
51 |
sed -i 's,CFLAGS := $(CFLAGS),EXTRA_CFLAGS :=,' Makefile |
49 |
} |
52 |
} |
50 |
|
53 |
|
51 |
src_install() { |
54 |
src_install() { |