当前位置: 技术问答>linux和unix
make 如何处理同名目标(target)
来源: 互联网 发布时间:2016-04-07
本文导语: 请具体解释: LIBDIR_MODULES = $(RPC_DIST)/lib/linux/st40 modules modules_install : $(LIBDIR_MODULES)/Makefile $(MAKE) -C $(KERNELDIR) M=$(LIBDIR_MODULES) $@ modules : kbuild_wrapper -@$(ECHO) "WE ARE IN R3.1.1/makefile now!!!!!!!" kbuild_wrapper : $(MAKE) ...
请具体解释:
LIBDIR_MODULES = $(RPC_DIST)/lib/linux/st40
modules modules_install : $(LIBDIR_MODULES)/Makefile
$(MAKE) -C $(KERNELDIR) M=$(LIBDIR_MODULES) $@
modules : kbuild_wrapper
-@$(ECHO) "WE ARE IN R3.1.1/makefile now!!!!!!!"
kbuild_wrapper :
$(MAKE) KBUILD_WRAPPER=1
KERNELDIR_ST40_LINUX_KO=$(KERNELDIR)
DISABLE_IA32_LINUX=1
DISABLE_ST20_OS20=1
DISABLE_ST40_OS21=1
DISABLE_ST40_LINUX=1
DISABLE_ST40_WINCE=1
DISABLE_ST220_OS21=1
DISABLE_ST231_OS21=1
install
LIBDIR_MODULES = $(RPC_DIST)/lib/linux/st40
modules modules_install : $(LIBDIR_MODULES)/Makefile
$(MAKE) -C $(KERNELDIR) M=$(LIBDIR_MODULES) $@
modules : kbuild_wrapper
-@$(ECHO) "WE ARE IN R3.1.1/makefile now!!!!!!!"
kbuild_wrapper :
$(MAKE) KBUILD_WRAPPER=1
KERNELDIR_ST40_LINUX_KO=$(KERNELDIR)
DISABLE_IA32_LINUX=1
DISABLE_ST20_OS20=1
DISABLE_ST40_OS21=1
DISABLE_ST40_LINUX=1
DISABLE_ST40_WINCE=1
DISABLE_ST220_OS21=1
DISABLE_ST231_OS21=1
install
|
写一个测试程序验证一下就知道了,
等待楼主的验证结果,
等待楼主的验证结果,