Add NO_LIBTRACEEVENT=1 option to build perf tool.
During building perf tool, there is an below error.
[ 39s] Makefile.config:1144: *** ERROR: libtraceevent is missing. Please install libtraceevent-dev/libtraceevent-devel or build with NO_LIBTRACEEVENT=
Change-Id: I17238b6407449fb336a57b474475961bd15a96ec
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
make %{config_name} %{?_smp_mflags}
# Build perf
-make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" %{?_smp_mflags}
+make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" %{?_smp_mflags} NO_LIBTRACEEVENT=1
# Build Image/Image.gz
make %{?_smp_mflags}
install -m 644 arch/%{buildarch}/boot/Image %{buildroot}/boot/Image
# Install perf
-make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" DESTDIR=%{buildroot}/usr install
+make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" DESTDIR=%{buildroot}/usr install NO_LIBTRACEEVENT=1
rm -rf %{buildroot}/usr/etc
rm -rf %{buildroot}/usr/lib/debug
rm -rf %{buildroot}/usr/lib/perf
make %{config_name} %{?_smp_mflags}
# Build perf
-make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" %{?_smp_mflags}
+make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" %{?_smp_mflags} NO_LIBTRACEEVENT=1
# Build Image/Image.gz
make %{?_smp_mflags}
install -m 644 arch/%{buildarch}/boot/Image %{buildroot}/boot/Image
# Install perf
-make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" DESTDIR=%{buildroot}/usr install
+make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" DESTDIR=%{buildroot}/usr install NO_LIBTRACEEVENT=1
rm -rf %{buildroot}/usr/etc
rm -rf %{buildroot}/usr/lib/debug
rm -rf %{buildroot}/usr/lib/perf
make %{config_name} %{?_smp_mflags}
# Build perf
-make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" %{?_smp_mflags}
+make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" %{?_smp_mflags} NO_LIBTRACEEVENT=1
# Build Image/Image.gz
make %{?_smp_mflags}
install -m 644 arch/%{buildarch}/boot/Image %{buildroot}/boot/Image
# Install perf
-make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" DESTDIR=%{buildroot}/usr install
+make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" DESTDIR=%{buildroot}/usr install NO_LIBTRACEEVENT=1
rm -rf %{buildroot}/usr/etc
rm -rf %{buildroot}/usr/lib/debug
rm -rf %{buildroot}/usr/lib/perf