mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
pm: cpupower: Makefile: Allow overriding cross-compiling env params
Allow overriding the cross-comple env parameters to make it easier for Yocto users. Then cross-compiler toolchains to build cpupower with only two steps: - source (toolchain path)/environment-setup-armv8a-poky-linux - make Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
c0dd6507ab
commit
f79473ed92
|
|
@ -86,12 +86,12 @@ INSTALL_SCRIPT = ${INSTALL} -m 644
|
||||||
# If you are running a cross compiler, you may want to set this
|
# If you are running a cross compiler, you may want to set this
|
||||||
# to something more interesting, like "arm-linux-". If you want
|
# to something more interesting, like "arm-linux-". If you want
|
||||||
# to compile vs uClibc, that can be done here as well.
|
# to compile vs uClibc, that can be done here as well.
|
||||||
CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc-
|
CROSS ?= #/usr/i386-linux-uclibc/usr/bin/i386-uclibc-
|
||||||
CC = $(CROSS)gcc
|
CC ?= $(CROSS)gcc
|
||||||
LD = $(CROSS)gcc
|
LD ?= $(CROSS)gcc
|
||||||
AR = $(CROSS)ar
|
AR ?= $(CROSS)ar
|
||||||
STRIP = $(CROSS)strip
|
STRIP ?= $(CROSS)strip
|
||||||
RANLIB = $(CROSS)ranlib
|
RANLIB ?= $(CROSS)ranlib
|
||||||
HOSTCC = gcc
|
HOSTCC = gcc
|
||||||
MKDIR = mkdir
|
MKDIR = mkdir
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user