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

📄 readme-2.5

📁 linux 内核源代码
💻 5
字号:
BTFIXUP-------To build new kernels you have to issue "make image". The ready kernelin ELF format is placed in arch/sparc/boot/image. Explanation is below.BTFIXUP is a unique feature of Linux/sparc among other architectures,developed by Jakub Jelinek (I think... Obviously David S. Miller tookpart, too). It allows to boot the same kernel at different sub-architectures, such as sun4c, sun4m, sun4d, where SunOS usesdifferent kernels. This feature is convinient for people who you movedisks between boxes and for distrution builders.To function, BTFIXUP must link the kernel "in the draft" first,analyze the result, write a special stub code based on that, andbuild the final kernel with the stub (btfix.o).Kai Germaschewski improved the build system of the kernel in the 2.5 seriessignificantly. Unfortunately, the traditional way of running the draftlinking from architecture specific Makefile before the actual linkingby generic Makefile is nearly impossible to support properly in thenew build system. Therefore, the way we integrate BTFIXUP with thebuild system was changed in 2.5.40. Now, generic Makefile performsthe draft linking and stores the result in file vmlinux. Architecturespecific post-processing invokes BTFIXUP machinery and final linkingin the same way as other architectures do bootstraps.Implications of that change are as follows.1. Hackers must type "make image" now, instead of just "make", in the same   way as s390 people do now. It is analogous to "make bzImage" on i386.   This does NOT affect sparc64, you continue to use "make" to build sparc64   kernels.2. vmlinux is not the final kernel, so RPM builders have to adjust   their spec files (if they delivered vmlinux for debugging).   System.map generated for vmlinux is still valid.3. Scripts that produce a.out images have to be changed. First, if they   invoke make, they have to use "make image". Second, they have to pick up   the new kernel in arch/sparc/boot/image instead of vmlinux.4. Since we are compliant with Kai's build system now, make -j is permitted.-- Pete Zaitcevzaitcev@yahoo.com

⌨️ 快捷键说明

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