mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
linux: add perf crosscompiling patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
72a232b76b
commit
508f4f6415
12
packages/linux/patches/3.6.11/linux-010-perf_crosscompiling.patch
vendored
Normal file
12
packages/linux/patches/3.6.11/linux-010-perf_crosscompiling.patch
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur linux-3.6.11/tools/perf/Makefile linux-3.6.11.patch/tools/perf/Makefile
|
||||
--- linux-3.6.11/tools/perf/Makefile 2012-12-17 18:27:45.000000000 +0100
|
||||
+++ linux-3.6.11.patch/tools/perf/Makefile 2013-03-06 16:30:43.107805512 +0100
|
||||
@@ -496,8 +496,6 @@
|
||||
msg := $(warning newt not found, disables TUI support. Please install newt-devel or libnewt-dev);
|
||||
BASIC_CFLAGS += -DNO_NEWT_SUPPORT
|
||||
else
|
||||
- # Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h
|
||||
- BASIC_CFLAGS += -I/usr/include/slang
|
||||
EXTLIBS += -lnewt -lslang
|
||||
LIB_OBJS += $(OUTPUT)ui/setup.o
|
||||
LIB_OBJS += $(OUTPUT)ui/browser.o
|
12
packages/linux/patches/3.7.10/linux-010-perf_crosscompiling.patch
vendored
Normal file
12
packages/linux/patches/3.7.10/linux-010-perf_crosscompiling.patch
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur linux-3.7.10/tools/perf/Makefile linux-3.7.10.patch/tools/perf/Makefile
|
||||
--- linux-3.7.10/tools/perf/Makefile 2013-02-27 18:22:04.000000000 +0100
|
||||
+++ linux-3.7.10.patch/tools/perf/Makefile 2013-03-06 16:36:15.633521884 +0100
|
||||
@@ -591,8 +591,6 @@
|
||||
ifneq ($(call try-cc,$(SOURCE_NEWT),$(FLAGS_NEWT)),y)
|
||||
msg := $(warning newt not found, disables TUI support. Please install newt-devel or libnewt-dev);
|
||||
else
|
||||
- # Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h
|
||||
- BASIC_CFLAGS += -I/usr/include/slang
|
||||
BASIC_CFLAGS += -DNEWT_SUPPORT
|
||||
EXTLIBS += -lnewt -lslang
|
||||
LIB_OBJS += $(OUTPUT)ui/setup.o
|
Loading…
x
Reference in New Issue
Block a user