coldfire MCF5445X基于unix平台的BSP
源代码在线查看: kernel-2.6.19-mx.spec.in
# Template = kernel-common.tmpl %define pfx /opt/freescale/rootfs/%{_target_cpu} %define pversion 2.6.19_mx %define bld_dir_name linux-2.6.19.2 %define kernel arch/arm/boot/zImage %define pkg_name linux Summary : Linux kernel (core of the Linux operating system) Name : kernel Version : 2.6.19_mx Release : 1 License : GPL Vendor : Freescale Semiconductor Packager : Ross Wille Group : System Environment/Kernel Source : linux-2.6.19.2.tar.bz2 Patch0 : linux-2.6.19.2-mx-arch_arm.patch Patch1 : linux-2.6.19.2-mx-arm_oprofile.patch Patch2 : linux-2.6.19.2-mx-codetest.patch Patch3 : linux-2.6.19.2-mx-drivers_char.patch Patch4 : linux-2.6.19.2-mx-drivers_i2c.patch Patch5 : linux-2.6.19.2-mx-drivers_ide.patch Patch6 : linux-2.6.19.2-mx-drivers_input.patch Patch7 : linux-2.6.19.2-mx-drivers_media.patch Patch8 : linux-2.6.19.2-mx-drivers_mmc.patch Patch9 : linux-2.6.19.2-mx-drivers_mtd.patch Patch10 : linux-2.6.19.2-mx-drivers_mxc-2.patch Patch11 : linux-2.6.19.2-mx-drivers_net-2.patch Patch12 : linux-2.6.19.2-mx-drivers_pcmcia.patch Patch13 : linux-2.6.19.2-mx-drivers_serial.patch Patch14 : linux-2.6.19.2-mx-drivers_spi.patch Patch15 : linux-2.6.19.2-mx-drivers_usb.patch Patch16 : linux-2.6.19.2-mx-drivers_video-2.patch Patch17 : linux-2.6.19.2-mx-drivers_w1-2.patch Patch18 : linux-2.6.19.2-mx-include_mxc.patch Patch19 : linux-2.6.19.2-mx-mach_mx27-2.patch Patch20 : linux-2.6.19.2-mx-mach_mx31.patch Patch21 : linux-2.6.19.2-mx-plat_mxc.patch Patch22 : linux-2.6.19.2-mx-sound-2.patch Patch23 : linux-2.6.19.2-mx-irttp_reserve.patch Patch24 : linux-2.6.19.2-mx-porting.patch Patch25 : linux-2.6.19.2-mx-fsl_logos.patch Patch26 : linux-2.6.19.2-mx-remove_kfi.patch Patch27 : linux-2.6.19.2-mx-touchscreen_fix.patch Patch28 : linux-2.6.19.2-mx-xip_boot_with_nor.patch Patch29 : linux-2.6.19.2-mx-xip_with_nand.patch Patch30 : linux-2.6.19.2-mx-alsa_playback_ata_corruption.patch Patch31 : linux-2.6.19.2-mx-sdma_channel_priority.patch Patch32 : linux-2.6.19.2-mx-dpm.patch Patch33 : linux-2.6.19.2-mx-voice_codec_noise.patch Patch34 : linux-2.6.19.2-mx-mx27_hrt.patch Patch35 : linux-2.6.19.2-mx-ata_clk_fix.patch Patch36 : linux-2.6.19.2-mx-ts_suspend_fix.patch Patch37 : linux-2.6.19.2-mx-i2c_stop_fix.patch Patch38 : linux-2.6.19.2-mx-mc521da_camera.patch Patch39 : linux-2.6.19.2-mx-ipu_pm_sleep.patch Patch40 : linux-2.6.19.2-mx-warns_fix.patch Patch41 : linux-2.6.19.2-mx-vpu_buf_list.patch Patch42 : linux-2.6.19.2-mx-wdt_kconfig_fix.patch Patch43 : linux-2.6.19.2-mx-arm926_dcache_writethrough_flush_fix.patch Patch44 : linux-2.6.19.2-mx-ide_dma_fix.patch Patch45 : linux-2.6.19.2-mx-focus453_reset_fix.patch Patch46 : linux-2.6.19.2-mx-irda_mode_fix.patch Patch47 : linux-2.6.19.2-mx-watchdog_fix.patch Patch48 : linux-2.6.19.2-mx-fec_loadable_module.patch Patch49 : linux-2.6.19.2-mx-fb_loadable_module.patch Patch50 : linux-2.6.19.2-mx-mx27_warns_fix.patch BuildRoot : %{_tmppath}/%{name} Prefix : %{pfx} %Description %{summary} %Prep %setup -n %{bld_dir_name} %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 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch26 -p1 %patch27 -p1 %patch28 -p1 %patch29 -p1 %patch30 -p1 %patch31 -p1 %patch32 -p1 %patch33 -p1 %patch34 -p1 %patch35 -p1 %patch36 -p1 %patch37 -p1 %patch38 -p1 %patch39 -p1 %patch40 -p1 %patch41 -p1 %patch42 -p1 %patch43 -p0 %patch44 -p1 %patch45 -p1 %patch46 -p1 %patch47 -p1 %patch48 -p1 %patch49 -p1 %patch50 -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