openobex.spec
来自「coldfire MCF5445X基于unix平台的BSP」· SPEC 代码 · 共 48 行
SPEC
48 行
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : Utility for Ir devicesName : openobexVersion : 1.2Release : 1License : GPL/LGPLVendor : FreescalePackager : Rakesh S JoshiGroup : Development/LibrariesSource : %{name}-%{version}.tar.gzBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup%Buildif [ -z "$PKG_KERNEL_KBUILD_PRECONFIG" ]then KERNELDIR="$PWD/../linux" KBUILD_OUTPUT="$PWD/../linux"else KERNELDIR="$PKG_KERNEL_PATH_PRECONFIG" KBUILD_OUTPUT="$(eval echo ${PKG_KERNEL_KBUILD_PRECONFIG})"fiCC=${TOOLCHAIN_PREFIX}gcc ./configure --host=$CFGHOST --prefix=$RPM_BUILD_ROOT/%{pfx}/ --enable-apps=yesif [ $TOOLCHAIN_PREFIX = "arm-none-linux-gnueabi-" ]then sed -i "s,SUBDIRS = include lib apps ircp doc,SUBDIRS = include lib apps doc," Makefilefimake%Installmake install%Files%defattr(-,root,root)%{pfx}/*%Cleanrm -rf $RPM_BUILD_ROOT/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?