⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 devmem2.spec

📁 coldfire MCF5445X基于unix平台的BSP
💻 SPEC
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary         : Simple program to read/write from/to any location in memory.Name            : devmem2Version         : 1.0Release         : 1License         : GPLVendor          : FreescalePackager        : Ross WilleGroup           : Applications/SystemSource          : devmem2.tar.gzPatch0		: devmem2-fixups-2.patchBuildRoot       : %{_tmppath}/%{name}Prefix          : %{pfx}%DescriptionThis is a simple program to read/write from/to any location in memory.It can read or write a byte, halfword or word of memory at a time.Care should be taken to properly align addresses to their appropriateboundary when running on processors that care about such things.WARNING: Writing or reading memory locations may corrupt your system,so use this utility with extreme caution!%Prep%setup -n %{name}%patch0 -p1%Buildmake CFLAGS="-DFORCE_STRICT_ALIGNMENT"%Installrm -rf $RPM_BUILD_ROOTinstall -m 755 -d $RPM_BUILD_ROOT/%{pfx}/sbinmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}/sbin%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -