coldfire MCF5445X基于unix平台的BSP
源代码在线查看: kernel-2.6.22-mx.spec.in
# Template = kernel-common.tmpl %define pfx /opt/freescale/rootfs/%{_target_cpu} %define pversion 2.6.22_mx %define bld_dir_name linux-2.6.22 %define kernel arch/arm/boot/zImage %define pkg_name linux Summary : Linux kernel (core of the Linux operating system) Name : kernel Version : 2.6.22_mx Release : 1 License : GPL Vendor : Freescale Semiconductor Packager : Ross Wille Group : System Environment/Kernel Source : linux-2.6.22.tar.bz2 Patch0 : patch-2.6.22.6.bz2 Patch1 : linux-2.6.22-mx-2007-09-11.patch BuildRoot : %{_tmppath}/%{name} Prefix : %{pfx} %Description %{summary} %Prep %setup -n %{bld_dir_name} %patch0 -p1 %patch1 -p1 # keep ltib's kernel config and kernel source tree consistent if [ -f "$PLATFORM_PATH/$PKG_KERNEL_PRECONFIG" ]; then cp $PLATFORM_PATH/$PKG_KERNEL_PRECONFIG arch/$LINTARCH/configs/${PLATFORM}_defconfig fi