makefile

来自「嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计」· 代码 · 共 31 行

TXT
31
字号
## Makefile for the linux reiser-filesystem routines.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).## Note 2! The CFLAGS definitions are now in the main makefile...O_TARGET := reiserfs.oobj-y   := bitmap.o do_balan.o namei.o inode.o file.o dir.o fix_node.o super.o prints.o objectid.o \lbalance.o ibalance.o stree.o hashes.o buffer2.o tail_conversion.o journal.o resize.o version.o item_ops.o ioctl.o procfs.oobj-m   := $(O_TARGET)# gcc -O2 (the kernel default)  is overaggressive on ppc32 when many inline# functions are used.  This causes the compiler to advance the stack# pointer out of the available stack space, corrupting kernel space,# and causing a panic. Since this behavior only affects ppc32, this ifeq# will work around it. If any other architecture displays this behavior,# add it here.ifeq ($(CONFIG_PPC32),y)EXTRA_CFLAGS := -O1endifinclude $(TOPDIR)/Rules.makeTAGS:	etags *.c

⌨️ 快捷键说明

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