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

📄 makefile

📁 arm平台上的uclinux系统全部源代码
💻
字号:
## Makefile for the kernel character device drivers.## 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 inherited from the# parent makes..### This file contains the font map for the default font#FONTMAPFILE = cp437.uni# Links to makeLK = conmakehash.c consolemap.c consolemap.h cp437.uni random.c tty_ioctl.c softdog.call: links first_ruleL_TARGET := char.aM_OBJS   :=L_OBJS   := tty_io.o n_tty.o tty_ioctl.o pty.o mem.o random.o# architecture optionsifeq ($(CONFIG_SERIAL_TRIO),y)  L_OBJS += trioserial.oelse  ifeq ($(CONFIG_SERIAL_TRIO),m)    M_OBJS += trioserial.o  endifendififeq ($(MACHINE),arc)  ifeq ($(CONFIG_SERIAL),y)    L_OBJS += serial6850.o  else    ifeq ($(CONFIG_SERIAL),m)      M_OBJS += serial6850.o    endif  endifelse  ifeq ($(CONFIG_SERIAL),y)    SL = y  else    ifeq ($(CONFIG_SERIAL),m)      SM = m    endif  endifendififeq ($(MACHINE),arc)  L_OBJS += console.o consoledriver.o keyboard.o keyb_arc.o vc_screen.o selection.o \		defkeymap.o consolemap.o vt.o  MOUSE_OBJS =endififeq ($(MACHINE),a5k)  L_OBJS += console.o consoledriver.o keyboard.o keyb_arc.o vc_screen.o selection.o \		defkeymap.o consolemap.o vt.o  MOUSE_OBJS =endififeq ($(MACHINE),rpc)  L_OBJS += console.o consoledriver.o keyboard.o keyb_ps2.o vc_screen.o selection.o \		defkeymap.o consolemap.o vt.oifeq ($(CONFIG_RPCMOUSE),y)  MOUSE_OBJS = mouse_rpc.oendifendififeq ($(MACHINE),ebsa110)  L_OBJS += console-dummy.o vt-dummy.oendififeq ($(MACHINE),trio)  L_OBJS += console-trio.o vt-dummy.o kbd_trio.oendif# Common dependenciesifeq ($(CONFIG_ATOMWIDE_SERIAL),y)  L_OBJS += serial-atomwide.o  SL=yelse  ifeq ($(CONFIG_ATOMWIDE_SERIAL),m)    M_OBJS += serial-atomwide.o    SM=m  endifendififeq ($(CONFIG_DUALSP_SERIAL),y)  L_OBJS += serial-dualsp.o  SL=yelse  ifeq ($(CONFIG_DUALSP_SERIAL),m)    M_OBJS += serial-dualsp.o    SM=m  endifendififdef SL  LX_OBJS += serial.oelse  ifdef SM    MX_OBJS += serial.o  endifendififeq ($(CONFIG_PRINTER),y)  L_OBJS += lp.oelse  ifeq ($(CONFIG_PRINTER),m)    M_OBJS += lp.o  endifendififeq ($(CONFIG_UMISC),y)# To support third-party modules, misc.c must reside in the kernelM = yendififeq ($(CONFIG_MOUSE),y)  M = y  L_OBJS += mouse.o $(MOUSE_OBJS)else  ifeq ($(CONFIG_MOUSE),m)    MM = m    M_OBJS += mouse.o $(MOUSE_OBJS)  endifendififeq ($(CONFIG_SOFT_WATCHDOG),y)M = yL_OBJS += softdog.oelse  ifeq ($(CONFIG_SOFT_WATCHDOG),m)  M_OBJS += softdog.o  MM = m  endifendififdef M  L_OBJS += misc.oelse  ifdef MM    M_OBJS += misc.o  endifendifinclude $(TOPDIR)/Rules.makefastdep: links uni_hash.tblconmakehash: conmakehash.c	$(HOSTCC) -o conmakehash conmakehash.cuni_hash.tbl: $(FONTMAPFILE) conmakehash	./conmakehash $(FONTMAPFILE) > uni_hash.tbl.PHONY: linkslinks:	-@for f in $(LK); do \		if [ ! -e $$f ]; then \			echo "ln -s ../../../../drivers/char/$$f .";\			ln -s ../../../../drivers/char/$$f .; \		fi; \	donemrproper:	-@for f in $(LK); do \		if [ -L $$f ]; then \			echo $(RM) $$f; \			$(RM) $$f; \		elif [ -f $$f ]; then \			echo not removing $$f; \		fi; \	done	$(RM) conmakehash

⌨️ 快捷键说明

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