URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Subversion Repositories or1k_old
[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [drivers/] [char/] [Makefile] - Rev 1782
Compare with Previous | Blame | View Log
## 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..#SUB_DIRS :=MOD_SUB_DIRS := $(SUB_DIRS)ALL_SUB_DIRS := $(SUB_DIRS) ftape## This file contains the font map for the default (hardware) font#FONTMAPFILE = cp437.uniL_TARGET := char.aM_OBJS :=L_OBJS := tty_io.o n_tty.o tty_ioctl.o pty.o mem.oifdef CONSOLE_BAUD_RATECFLAGS += -DCONSOLE_BAUD_RATE=$(CONSOLE_BAUD_RATE)endifLX_OBJS += random.oifeq ($(CONFIG_SERIAL),y)ifndef CONFIG_SUN_SERIALLX_OBJS += serial.oendifelseifeq ($(CONFIG_SERIAL),m)MX_OBJS += serial.oendifendififeq ($(CONFIG_COLDFIRE),y)L_OBJS += mcfserial.oelseifeq ($(CONFIG_COLDFIRE),m)M_OBJS += mcfserial.oendifendififeq ($(CONFIG_MCF_MBUS),y)L_OBJS += mbus.oendififeq ($(CONFIG_WATCHDOG),y)L_OBJS += mcfwatchdog.oendififeq ($(CONFIG_MAGIC_SYSRQ),y)L_OBJS += sysrq.oendififeq ($(CONFIG_68302_SERIAL),y)L_OBJS += 68302serial.oelseifeq ($(CONFIG_68302_SERIAL),m)M_OBJS += 68302serial.oendifendififeq ($(CONFIG_68328_SERIAL),y)L_OBJS += 68328serial.oelseifeq ($(CONFIG_68328_SERIAL),m)M_OBJS += 68328serial.oendifendififeq ($(CONFIG_68332_SERIAL),y)L_OBJS += 68332serial.oelseifeq ($(CONFIG_68332_SERIAL),m)M_OBJS += 68332serial.oendifendififeq ($(CONFIG_68328_DIGI),y)M = yL_OBJS += mc68328digi.oelseifeq ($(CONFIG_68328_DIGI),m)M_OBJS += mc68328digi.oMM = nendifendif#ifeq ($(CONFIG_KEYBOARD),y)ifndef CONFIG_SUN_KEYBOARDL_OBJS += keyboard.o defkeymap.oendif#endififeq ($(CONFIG_DIGI),y)L_OBJS += pcxx.oelseifeq ($(CONFIG_DIGI),m)M_OBJS += pcxx.oendifendififeq ($(CONFIG_CYCLADES),y)L_OBJS += cyclades.oelseifeq ($(CONFIG_CYCLADES),m)M_OBJS += cyclades.oendifendififeq ($(CONFIG_STALLION),y)L_OBJS += stallion.oelseifeq ($(CONFIG_STALLION),m)M_OBJS += stallion.oendifendififeq ($(CONFIG_ISTALLION),y)L_OBJS += istallion.oelseifeq ($(CONFIG_ISTALLION),m)M_OBJS += istallion.oendifendififeq ($(CONFIG_RISCOM8),y)L_OBJS += riscom8.oelseifeq ($(CONFIG_RISCOM8),m)M_OBJS += riscom8.oendifendififeq ($(CONFIG_SPECIALIX),y)L_OBJS += specialix.oelseifeq ($(CONFIG_SPECIALIX),m)M_OBJS += specialix.oendifendififeq ($(CONFIG_ISI),y)L_OBJS += isicom.oelseifeq ($(CONFIG_ISI),m)M_OBJS += isicom.oendifendififeq ($(CONFIG_ATIXL_BUSMOUSE),y)M = yL_OBJS += atixlmouse.oelseifeq ($(CONFIG_ATIXL_BUSMOUSE),m)M_OBJS += atixlmouse.oMM = mendifendififeq ($(CONFIG_BUSMOUSE),y)M = yL_OBJS += busmouse.oelseifeq ($(CONFIG_BUSMOUSE),m)M_OBJS += busmouse.oMM = mendifendififeq ($(CONFIG_PRINTER),y)L_OBJS += lp.oelseifeq ($(CONFIG_PRINTER),m)M_OBJS += lp.oendifendififeq ($(CONFIG_MS_BUSMOUSE),y)M = yL_OBJS += msbusmouse.oelseifeq ($(CONFIG_MS_BUSMOUSE),m)M_OBJS += msbusmouse.oMM = mendifendififeq ($(CONFIG_PSMOUSE),y)M = yL_OBJS += psaux.oelseifeq ($(CONFIG_PSMOUSE),m)M_OBJS += psaux.oMM = mendifendififeq ($(CONFIG_UMISC),y)# To support third-party modules, misc.c must reside in the kernelM = yendififeq ($(CONFIG_SOFT_WATCHDOG),y)M = yL_OBJS += softdog.oelseifeq ($(CONFIG_SOFT_WATCHDOG),m)M_OBJS += softdog.oMM = mendifendififeq ($(CONFIG_PCWATCHDOG),y)M = yL_OBJS += pcwd.oelseifeq ($(CONFIG_PCWATCHDOG),m)M_OBJS += pcwd.oMM = mendifendififdef CONFIG_SUN_MOUSEM = yendififeq ($(CONFIG_WDT),y)M = yL_OBJS += wdt.oelseifeq ($(CONFIG_WDT),m)M_OBJS += wdt.oMM = mendifendififeq ($(CONFIG_RTC),y)M = yL_OBJS += rtc.oendififdef CONFIG_QIC02_TAPEL_OBJS += tpqic02.oendififeq ($(CONFIG_FTAPE),y)SUB_DIRS += ftapeL_OBJS += ftape/ftape.oelseifeq ($(CONFIG_FTAPE),m)MOD_SUB_DIRS += ftapeendifendififdef CONFIG_APMM = yendififdef CONFIG_H8LX_OBJS += h8.oM = yendififdef MLX_OBJS += misc.oelseifdef MMMX_OBJS += misc.oendifendififeq ($(CONFIG_SCC),y)L_OBJS += scc.oelseifeq ($(CONFIG_SCC),m)M_OBJS += scc.oendifendififeq ($(CONFIG_CONSOLE),y)ifeq ($(CONFIG_FRAMEBUFFER),y)LX_OBJS += fbmem.oendifL_OBJS += console.o vc_screen.o consolemap.o selection.o vt.oifdef CONFIG_TGA_CONSOLEL_OBJS += tga.oifdef CONFIG_VGA_CONSOLEL_OBJS += vga.o vesa_blank.oendifelseifndef CONFIG_SUN_CONSOLEL_OBJS += vga.o vesa_blank.oendifendifendififdef CONFIG_LCDDMAL_OBJS += lcddma.oendififdef CONFIG_DAC0800L_OBJS += dac0800.oendififdef CONFIG_DACI2SL_OBJS += daci2s.oendififdef CONFIG_LCDTXTL_OBJS += lcdtxt.oendififdef CONFIG_T6963_DMAL_OBJS += t6963fb.oendififdef CONFIG_T6963_PIOL_OBJS += t6963fb.oendifinclude $(TOPDIR)/Rules.makefastdep: uni_hash.tblconsolemap.o:conmakehash: conmakehash.c$(HOSTCC) -o conmakehash conmakehash.cuni_hash.tbl: $(FONTMAPFILE) conmakehash./conmakehash $(FONTMAPFILE) > uni_hash.tbl
