⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oprofile.spec

📁 coldfire MCF5445X基于unix平台的BSP
💻 SPEC
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary         : System-wide profiler for Linux systemsName            : oprofileVersion         : 0.9.2Release         : 1License         : GPLVendor          : FreescalePackager        : Stuart Hughes/WMSGGroup           : Development/ToolsSource          : %{name}-%{version}.tar.gzPatch0          : oprofile-0.9.2-arm11-2.patchPatch1          : oprofile-0.9.2-depmod.patchPatch2          : oprofile-0.9.2-bfd_get_synthetic_symtab-hack.patchPatch3          : oprofile-0.9.2-opcontrol.patchPatch4          : oprofile-0.9.2-mpc8313.patchBuildRoot       : %{_tmppath}/%{name}Prefix          : %{pfx}BuildRequires   : popt, binutils%Description%{summary}Note:binutils is required for libbfd onlyThis only support 2.6 kernels%Prep%setup %patch0 -p1%patch1 -p1%patch2 -p1%patch3 -p1%patch4 -p1%Buildif [ -n "$UCLIBC" ]then    config_opts='ac_cv_lib_intl_main=no'fieval $config_opts \./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \            --with-kernel-support \            --config-cache --mandir=%{_mandir} \            --with-binutils=$DEV_IMAGE/usr -Cmake%Installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -