diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 88e3a0a78c..0d104d36fa 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -79,6 +79,7 @@ EXTRA_OEMAKE = '\ | |||
79 | ARCH=${ARCH} \ | 79 | ARCH=${ARCH} \ |
80 | CC="${CC}" \ | 80 | CC="${CC}" \ |
81 | AR="${AR}" \ | 81 | AR="${AR}" \ |
82 | LD="${LD}" \ | ||
82 | EXTRA_CFLAGS="-ldw" \ | 83 | EXTRA_CFLAGS="-ldw" \ |
83 | perfexecdir=${libexecdir} \ | 84 | perfexecdir=${libexecdir} \ |
84 | NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${LIBUNWIND_DEFINES} \ | 85 | NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${LIBUNWIND_DEFINES} \ |
@@ -98,7 +99,6 @@ EXTRA_OEMAKE += "\ | |||
98 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ | 99 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ |
99 | " | 100 | " |
100 | 101 | ||
101 | |||
102 | do_compile() { | 102 | do_compile() { |
103 | # Linux kernel build system is expected to do the right thing | 103 | # Linux kernel build system is expected to do the right thing |
104 | unset CFLAGS | 104 | unset CFLAGS |
@@ -174,6 +174,7 @@ do_configure_prepend () { | |||
174 | if [ -e "${S}/tools/lib/api/Makefile" ]; then | 174 | if [ -e "${S}/tools/lib/api/Makefile" ]; then |
175 | sed -i 's,CC = $(CROSS_COMPILE)gcc,#CC,' ${S}/tools/lib/api/Makefile | 175 | sed -i 's,CC = $(CROSS_COMPILE)gcc,#CC,' ${S}/tools/lib/api/Makefile |
176 | sed -i 's,AR = $(CROSS_COMPILE)ar,#AR,' ${S}/tools/lib/api/Makefile | 176 | sed -i 's,AR = $(CROSS_COMPILE)ar,#AR,' ${S}/tools/lib/api/Makefile |
177 | sed -i 's,LD = $(CROSS_COMPILE)ld,#LD,' ${S}/tools/lib/api/Makefile | ||
177 | fi | 178 | fi |
178 | if [ -e "${S}/tools/lib/subcmd/Makefile" ]; then | 179 | if [ -e "${S}/tools/lib/subcmd/Makefile" ]; then |
179 | sed -i 's,CC = $(CROSS_COMPILE)gcc,#CC,' ${S}/tools/lib/subcmd/Makefile | 180 | sed -i 's,CC = $(CROSS_COMPILE)gcc,#CC,' ${S}/tools/lib/subcmd/Makefile |