xref: /rk3399_rockchip-uboot/drivers/input/Makefile (revision 713cb68045c6e7fc32c79ab4e922fb3a7548fd2f)
116b195c8SJean-Christophe PLAGNIOL-VILLARD#
216b195c8SJean-Christophe PLAGNIOL-VILLARD# (C) Copyright 2000-2007
316b195c8SJean-Christophe PLAGNIOL-VILLARD# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
416b195c8SJean-Christophe PLAGNIOL-VILLARD#
516b195c8SJean-Christophe PLAGNIOL-VILLARD# See file CREDITS for list of people who contributed to this
616b195c8SJean-Christophe PLAGNIOL-VILLARD# project.
716b195c8SJean-Christophe PLAGNIOL-VILLARD#
816b195c8SJean-Christophe PLAGNIOL-VILLARD# This program is free software; you can redistribute it and/or
916b195c8SJean-Christophe PLAGNIOL-VILLARD# modify it under the terms of the GNU General Public License as
1016b195c8SJean-Christophe PLAGNIOL-VILLARD# published by the Free Software Foundation; either version 2 of
1116b195c8SJean-Christophe PLAGNIOL-VILLARD# the License, or (at your option) any later version.
1216b195c8SJean-Christophe PLAGNIOL-VILLARD#
1316b195c8SJean-Christophe PLAGNIOL-VILLARD# This program is distributed in the hope that it will be useful,
1416b195c8SJean-Christophe PLAGNIOL-VILLARD# but WITHOUT ANY WARRANTY; without even the implied warranty of
1516b195c8SJean-Christophe PLAGNIOL-VILLARD# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
1616b195c8SJean-Christophe PLAGNIOL-VILLARD# GNU General Public License for more details.
1716b195c8SJean-Christophe PLAGNIOL-VILLARD#
1816b195c8SJean-Christophe PLAGNIOL-VILLARD# You should have received a copy of the GNU General Public License
1916b195c8SJean-Christophe PLAGNIOL-VILLARD# along with this program; if not, write to the Free Software
2016b195c8SJean-Christophe PLAGNIOL-VILLARD# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
2116b195c8SJean-Christophe PLAGNIOL-VILLARD# MA 02111-1307 USA
2216b195c8SJean-Christophe PLAGNIOL-VILLARD#
2316b195c8SJean-Christophe PLAGNIOL-VILLARD
2416b195c8SJean-Christophe PLAGNIOL-VILLARDinclude $(TOPDIR)/config.mk
2516b195c8SJean-Christophe PLAGNIOL-VILLARD
266d8962e8SSebastien CarlierLIB	:= $(obj)libinput.o
2716b195c8SJean-Christophe PLAGNIOL-VILLARD
2865e41ea0SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_I8042_KBD) += i8042.o
2929f3e3f2STom WarrenCOBJS-$(CONFIG_TEGRA_KEYBOARD) += tegra-kbc.o
30*713cb680SHung-ying TyanCOBJS-$(CONFIG_CROS_EC_KEYB) += cros_ec_keyb.o
3165e41ea0SJean-Christophe PLAGNIOL-VILLARDifdef CONFIG_PS2KBD
3265e41ea0SJean-Christophe PLAGNIOL-VILLARDCOBJS-y += keyboard.o pc_keyb.o
3365e41ea0SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_PS2MULT) += ps2mult.o ps2ser.o
3465e41ea0SJean-Christophe PLAGNIOL-VILLARDendif
359bc590e5SSimon GlassCOBJS-y += input.o
3692c27c51SBernie ThompsonCOBJS-$(CONFIG_OF_CONTROL) += key_matrix.o
3716b195c8SJean-Christophe PLAGNIOL-VILLARD
3816b195c8SJean-Christophe PLAGNIOL-VILLARDCOBJS	:= $(COBJS-y)
3916b195c8SJean-Christophe PLAGNIOL-VILLARDSRCS	:= $(COBJS:.o=.c)
4016b195c8SJean-Christophe PLAGNIOL-VILLARDOBJS	:= $(addprefix $(obj),$(COBJS))
4116b195c8SJean-Christophe PLAGNIOL-VILLARD
4216b195c8SJean-Christophe PLAGNIOL-VILLARDall:	$(LIB)
4316b195c8SJean-Christophe PLAGNIOL-VILLARD
4416b195c8SJean-Christophe PLAGNIOL-VILLARD$(LIB):	$(obj).depend $(OBJS)
456d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS))
4616b195c8SJean-Christophe PLAGNIOL-VILLARD
4716b195c8SJean-Christophe PLAGNIOL-VILLARD#########################################################################
4816b195c8SJean-Christophe PLAGNIOL-VILLARD
4916b195c8SJean-Christophe PLAGNIOL-VILLARD# defines $(obj).depend target
5016b195c8SJean-Christophe PLAGNIOL-VILLARDinclude $(SRCTREE)/rules.mk
5116b195c8SJean-Christophe PLAGNIOL-VILLARD
5216b195c8SJean-Christophe PLAGNIOL-VILLARDsinclude $(obj).depend
5316b195c8SJean-Christophe PLAGNIOL-VILLARD
5416b195c8SJean-Christophe PLAGNIOL-VILLARD#########################################################################
55