$(KERNEL_CROSS)objcopy $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).elf$(2); \ $(CP) $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).debug$(2); \ cmp -s $(LINUX_DIR)$(2)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).debug$(2) || {...
__ksymtab_/ {print substr($$$3,11)}' > $(KERNEL_BUILD_DIR)/kernel_symtab.txt grep -Ff $(KERNEL_BUILD_DIR)/mod_symtab.txt $(KERNEL_BUILD_DIR)/kernel_symtab.txt > $(KERNEL_BUILD_DIR)/sym_include.txt grep -Fvf $(KERNEL_BUILD_DIR)/mod_symtab.txt $(KERNEL_BUILD_DIR)/kernel_symt...
This introduces$kernel->getBuildDir(): $kernel->getBuildDir(): for cache that can be warmed and deployed as read-only (compiled container, annotations, etc.) $kernel->getCacheDir(): for cache that can be written at runtime (e.g. cache pools, session, profiler, etc.) ...
KERNELDIR=/lib/modules/$(shell uname -r)/build;其中 shell uname -r 说的是调用shell里头的uname指令 你可以uname -r看看呢是什么,他表示的是内核版本号。一般来说我们构造内核树时,它把内核库统一保存在/lib/modules/内核版本号/build目下。还有不清楚的请提问,呵呵。
内核所在文件系统位置 至于shell uname -r 。shell不是有好有几种么,比如BASH ,TCSHELL等
debian 2.6.26内核,make时提示 make[1]:*** 没有规则可以创建目标“modules”.停止Makefile如下:ifneq ($(KERNELRELEASE),)obj-m := s3c2410-led.oelseKERNEL_DIR :=/lib/modules/$(shell uname -r)/buildPWD := $(shell pwd)all:$(MAKE) -C $(K
. ${ROOT_DIR}/common/build.config.common . ${ROOT_DIR}/common/build.config.arm . ${ROOT_DIR}/common/build.config.allmodconfig . ${ROOT_DIR}/${KERNEL_DIR}/build.config.common . ${ROOT_DIR}/${KERNEL_DIR}/build.config.arm . ${ROOT_DIR}/${KERNEL_DIR}/build.config...
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.allmodconfig 6 changes: 3 additions & 3 deletions 6 build.config.allmodconfig.arm Original file line numberDiff line numberDiff line change @@ -1,4 +1,4 @@ . ${ROOT_DIR}/common/build.config.common . ${ROOT_DIR}/common/build.config.arm...
. ${ROOT_DIR}/common/build.config.common . ${ROOT_DIR}/common/build.config.arm . ${ROOT_DIR}/common/build.config.allmodconfig . ${ROOT_DIR}/${KERNEL_DIR}/build.config.common . ${ROOT_DIR}/${KERNEL_DIR}/build.config.arm . ${ROOT_DIR}/${KERNEL_DIR}/build.config.allmodconfig ...