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

📄 binutils.spec

📁 coldfire MCF5445X基于unix平台的BSP
💻 SPEC
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu} Summary         : A GNU collection of binary utilities.Name            : binutilsVersion         : 2.17Release         : 1License         : GPLVendor          : FreescalePackager        : Steve PapacharalambousGroup           : Development/ToolsSource          : %{name}-%{version}.tar.bz2BuildRoot       : %{_tmppath}/%{name}Prefix          : %{pfx}%Description%{summary}%Prep%setup %Build# Temporary hack - stevep# For building toolchain components an optimized version of the# target is needed.  This should really be defined in the config# area of ltib, and not done in the toolchain spec files.# For now we assume that the optimised target can be derived by# stripping the trailing "-" off the toolchain prefix, but this# will not be true for all cases, eg when using uClibc toolchains.if [ ${TOOLCHAIN_PREFIX} = "arm_v6_vfp_le-" -o -n "$UCLIBC" ]then	OPT_CFGHOST=$CFGHOSTelse	OPT_CFGHOST=`echo ${TOOLCHAIN_PREFIX} | perl -n -e 's,-$,,;print'`firm -rf build-binutilsmkdir build-binutilscd build-binutilsexport CPP=$BUILDCPP../configure \    --host=${OPT_CFGHOST} --build=%{_build} --target=${OPT_CFGHOST} \    --prefix=%{_prefix} --disable-nls --mandir=%{_mandir}make CC_FOR_BUILD="${BUILDCC}" all%Installcd build-binutilsmake CC_FOR_BUILD="${BUILDCC}" DESTDIR=${RPM_BUILD_ROOT}/%{pfx} install# Remove libtool .la files.find $RPM_BUILD_ROOT/%{pfx} -name \*.la -exec rm {} \;%Cleanrm -rf ${RPM_BUILD_ROOT}%Files%defattr(-,root,root)%{pfx}/*

⌨️ 快捷键说明

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