📄 u-boot-fsl-pq3.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : Universal Bootloader firmwareName : u-bootVersion : 1.1.3Release : cvs20050607License : GPLVendor : FreescalePackager : Stuart HughesGroup : Applications/SystemSource : u-boot-cvs-20050607.tar.bz2Patch0 : u-boot-fsl-1.1.3-MPC8548CDS_PCI.patchPatch1 : u-boot-fsl-1.1.3-MPC8548CDS_PEX-2.patchPatch2 : u-boot-fsl-1.1.3-MPC8555CDS_DDR-2.patchPatch3 : u-boot-fsl-1.1.3-MPC85xxCDS_X31.patchPatch4 : u-boot-fsl-1.1.3-MPC85xxCDS_IPADDR-2.patchPatch5 : u-boot-fsl-1.1.3-MPC8548CDS_LAWS.patchPatch6 : u-boot-fsl-1.1.3-MPC8548CDS_CPU_VERSION.patchPatch7 : u-boot-fsl-1.1.3-MPC8560ADS_FCC-2.patchPatch8 : u-boot-fsl-1.1.3-MPC8560ADS_SCC2.patchPatch9 : u-boot-fsl-1.1.3-MPC8560ADS_debug_port.patchPatch10 : u-boot-fsl-1.1.3-MPC8540EVAL-2.patchPatch11 : u-boot-fsl-1.1.3-PQ3_CW.patchPatch12 : u-boot-fsl-1.1.3-MPC8540EVAL_CodeTEST.patchPatch13 : u-boot-fsl-1.1.3-MPC85xxCDS_phy.patchPatch14 : u-boot-fsl-1.1.3-MPC85xxCDS_freq-4.patchPatch15 : u-boot-fsl-1.1.3-MPC85xxCDS_loadaddr.patchPatch16 : u-boot-fsl-1.1.3-MPC85xxCDS_id_eeprom2.patchPatch17 : u-boot-fsl-1.1.3-MPC85xxCDS_tftp.patchPatch18 : u-boot-fsl-1.1.3-MPC85xxCDS_etsec34-2.patchPatch19 : u-boot-fsl-1.1.3-MPC85xxCDS_disable_2t.patchPatch20 : u-boot-fsl-1.1.3-MPC85xxCDS_fix_CPU2.patchPatch21 : u-boot-fsl-1.1.3-MPC85xxCDS_fix_caslat.patchPatch22 : u-boot-pq3-gcc4.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup -n u-boot-cvs-20050607%patch0 -p1%patch1 -p1%patch2 -p1%patch3 -p1%patch4 -p1%patch5 -p1%patch6 -p1%patch7 -p1%patch8 -p1%patch9 -p1%patch10 -p1%patch11 -p1%patch12 -p1%patch13 -p1%patch14 -p1%patch15 -p1%patch16 -p1%patch17 -p1%patch18 -p1%patch19 -p1%patch20 -p1%patch21 -p1%patch22 -p1%BuildPKG_U_BOOT_CONFIG_TYPE=${PKG_U_BOOT_CONFIG_TYPE:-MPC8548CDS_config}make HOSTCC="$BUILDCC" CROSS_COMPILE=$TOOLCHAIN_PREFIX $PKG_U_BOOT_CONFIG_TYPEmake HOSTCC="$BUILDCC" HOSTSTRIP="$BUILDSTRIP" \ CROSS_COMPILE=$TOOLCHAIN_PREFIX $PKG_U_BOOT_BUILD_ARGS all%Installrm -rf $RPM_BUILD_ROOTmkdir -p $RPM_BUILD_ROOT/%{pfx}/bootfor i in u-boot.bin u-bootdo cp $i $RPM_BUILD_ROOT/%{pfx}/bootdone%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -