From 786a8d08a2bb9cd7017f04a3f09c58f5d6423f7f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 31 May 2013 00:00:51 +0200 Subject: [PATCH] linux: update perf crosscompiling patch Signed-off-by: Stephan Raue --- .../3.8.13/linux-010-perf_crosscompiling.patch | 17 +++++++++++------ .../3.9.4/linux-010-perf_crosscompiling.patch | 17 +++++++++++------ 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/packages/linux/patches/3.8.13/linux-010-perf_crosscompiling.patch b/packages/linux/patches/3.8.13/linux-010-perf_crosscompiling.patch index f61031edc6..aeea6963f4 100644 --- a/packages/linux/patches/3.8.13/linux-010-perf_crosscompiling.patch +++ b/packages/linux/patches/3.8.13/linux-010-perf_crosscompiling.patch @@ -1,12 +1,17 @@ -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) +diff -Naur linux-3.9.4/tools/perf/Makefile linux-3.9.4.patch/tools/perf/Makefile +--- linux-3.9.4/tools/perf/Makefile 2013-05-24 20:45:59.000000000 +0200 ++++ linux-3.9.4.patch/tools/perf/Makefile 2013-05-30 23:57:04.135031372 +0200 +@@ -668,12 +668,10 @@ + endif + + ifndef NO_NEWT +- FLAGS_NEWT=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -lnewt ++ FLAGS_NEWT=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -lnewt -lslang + ifneq ($(call try-cc,$(SOURCE_NEWT),$(FLAGS_NEWT),libnewt),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 + LIB_OBJS += $(OUTPUT)ui/browser.o diff --git a/packages/linux/patches/3.9.4/linux-010-perf_crosscompiling.patch b/packages/linux/patches/3.9.4/linux-010-perf_crosscompiling.patch index f61031edc6..aeea6963f4 100644 --- a/packages/linux/patches/3.9.4/linux-010-perf_crosscompiling.patch +++ b/packages/linux/patches/3.9.4/linux-010-perf_crosscompiling.patch @@ -1,12 +1,17 @@ -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) +diff -Naur linux-3.9.4/tools/perf/Makefile linux-3.9.4.patch/tools/perf/Makefile +--- linux-3.9.4/tools/perf/Makefile 2013-05-24 20:45:59.000000000 +0200 ++++ linux-3.9.4.patch/tools/perf/Makefile 2013-05-30 23:57:04.135031372 +0200 +@@ -668,12 +668,10 @@ + endif + + ifndef NO_NEWT +- FLAGS_NEWT=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -lnewt ++ FLAGS_NEWT=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -lnewt -lslang + ifneq ($(call try-cc,$(SOURCE_NEWT),$(FLAGS_NEWT),libnewt),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 + LIB_OBJS += $(OUTPUT)ui/browser.o