📄 pcmcia-cs_mx21.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : PCMCIA utilitiesName : pcmcia-csVersion : 3.2.4Release : 1License : Mozilla Public License Version 1.1Vendor : FreescalePackager : John FaithGroup : Applications/SystemSource : %{name}-%{version}.tar.gzPatch0 : pcmcia-cs-3.2.4-mx21.patchPatch1 : pcmcia-cs-3.2.4-mx21-sysconfig.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup %patch0 -p1%patch1 -p1%Build./Configure \ --target=$RPM_BUILD_ROOT/%{pfx} \ --arch=%{_target_cpu} \ --kflags="-Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -fno-common -pipe -fno-omit-frame-pointer -mapcs-32 -march=armv5 -mtune=arm9tdmi -mshort-load-bytes -msoft-float" \ --srctree \ --kernel=${RPM_BUILD_DIR}/linux \ --sysv \ --rcdir=/etc/rc.d \ --apm \ --notrust \ --nocardbus \ --noprompt \ --nopnp# Allow 'make install' to overwrite man pageschmod u+w man/*.[1458]make all%Installmake install%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -