blob: e6b2778731ff3ab56c45ece362de67121ca708f6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for misc devices that really don't fit anywhere else.
3#
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
Ankita Garg8bb31b92006-10-02 02:17:36 -07005obj-$(CONFIG_IBM_ASM) += ibmasm/
Michael Hennerich4eb174b2009-12-14 18:00:15 -08006obj-$(CONFIG_AD525X_DPOT) += ad525x_dpot.o
Michael Hennerich6c536e42010-05-24 14:33:14 -07007obj-$(CONFIG_AD525X_DPOT_I2C) += ad525x_dpot-i2c.o
8obj-$(CONFIG_AD525X_DPOT_SPI) += ad525x_dpot-spi.o
J Freyenseefc360ee2011-06-17 15:13:33 -07009obj-$(CONFIG_INTEL_MID_PTI) += pti.o
Hans-Christian Egtvedteb1f2932007-10-16 23:26:11 -070010obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o
David Brownell2a341f52008-02-22 17:23:23 -080011obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o
Christoph Mair5bf1d292010-08-09 17:20:28 -070012obj-$(CONFIG_BMP085) += bmp085.o
Eric Andersson985087d2012-04-09 22:16:17 +020013obj-$(CONFIG_BMP085_I2C) += bmp085-i2c.o
14obj-$(CONFIG_BMP085_SPI) += bmp085-spi.o
Jiri Kosina54f69b92013-03-21 00:21:21 +010015obj-$(CONFIG_DUMMY_IRQ) += dummy-irq.o
Darrick J. Wonga412ae32008-11-12 13:27:04 -080016obj-$(CONFIG_ICS932S401) += ics932s401.o
Ankita Garg8bb31b92006-10-02 02:17:36 -070017obj-$(CONFIG_LKDTM) += lkdtm.o
Alex Dubovf9565122006-10-04 02:15:38 -070018obj-$(CONFIG_TIFM_CORE) += tifm_core.o
19obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o
Jiri Slabycef2cf02007-05-08 00:31:45 -070020obj-$(CONFIG_PHANTOM) += phantom.o
Tim Bird1f26d1c2015-07-16 16:55:32 -070021obj-$(CONFIG_QCOM_COINCELL) += qcom-coincell.o
Hemanth V7efe15f2010-08-09 17:20:25 -070022obj-$(CONFIG_SENSORS_BH1780) += bh1780gli.o
Samu Onkalo190420a2010-10-26 14:22:37 -070023obj-$(CONFIG_SENSORS_BH1770) += bh1770glc.o
Samu Onkalo92b1f842010-10-26 14:22:38 -070024obj-$(CONFIG_SENSORS_APDS990X) += apds990x.o
Brent Casavant59f14802006-10-17 00:09:25 -070025obj-$(CONFIG_SGI_IOC4) += ioc4.o
James Bottomleyd569d5b2008-02-03 15:40:56 -060026obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o
Jason Wessele8d31c22008-03-07 16:34:17 -060027obj-$(CONFIG_KGDB_TESTS) += kgdbts.o
Dean Nelson45d9ca42008-04-22 14:46:56 -050028obj-$(CONFIG_SGI_XP) += sgi-xp/
Jack Steiner3d919e52008-07-29 22:34:01 -070029obj-$(CONFIG_SGI_GRU) += sgi-gru/
Andres Salomon82dca612009-12-14 18:00:37 -080030obj-$(CONFIG_CS5535_MFGPT) += cs5535-mfgpt.o
David Altobelli89bcb052008-07-02 09:38:53 -060031obj-$(CONFIG_HP_ILO) += hpilo.o
anantha22d96aa2010-10-26 14:22:41 -070032obj-$(CONFIG_APDS9802ALS) += apds9802als.o
Daniel Mack3cdbbee2009-03-31 15:23:53 -070033obj-$(CONFIG_ISL29003) += isl29003.o
Kalhan Trisal2e85c4d2010-10-26 14:22:40 -070034obj-$(CONFIG_ISL29020) += isl29020.o
Jean Delvare6a9bcce2010-03-13 20:56:54 +010035obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o
Wolfram Sangdddc66f2009-12-06 17:06:16 +010036obj-$(CONFIG_DS1682) += ds1682.o
Daniel Mack4d009282009-12-14 18:00:17 -080037obj-$(CONFIG_TI_DAC7512) += ti_dac7512.o
Rodolfo Giometti4e17e1d2008-11-12 13:27:12 -080038obj-$(CONFIG_C2PORT) += c2port/
Kalhan Trisalcfa3b242010-08-09 17:21:05 -070039obj-$(CONFIG_HMC6352) += hmc6352.o
Wolfram Sang5195e502009-01-26 21:19:53 +010040obj-y += eeprom/
Michał Mirosław5f5bac82009-05-22 20:33:59 +020041obj-y += cb710/
Pratyush Anandb9500542011-03-22 16:33:58 -070042obj-$(CONFIG_SPEAR13XX_PCIE_GADGET) += spear13xx_pcie_gadget.o
Dmitry Torokhovd544b7a42010-09-22 13:04:57 -070043obj-$(CONFIG_VMWARE_BALLOON) += vmw_balloon.o
Linus Walleijce896242010-07-17 12:33:48 +010044obj-$(CONFIG_ARM_CHARLCD) += arm-charlcd.o
Masayuki Ohtakcf4ece52010-09-01 21:16:30 +090045obj-$(CONFIG_PCH_PHUB) += pch_phub.o
Pavan Savoy2bb32e82010-10-06 12:18:15 -040046obj-y += ti-st/
Jean Delvareff606672011-03-21 17:59:36 +010047obj-y += lis3lv02d/
Donggeun Kima1bb73d2011-07-25 17:13:07 -070048obj-$(CONFIG_USB_SWITCH_FSA9480) += fsa9480.o
Igor M. Liplianincff4fa82011-09-23 11:17:41 -030049obj-$(CONFIG_ALTERA_STAPL) +=altera-stapl/
Greg Kroah-Hartmanffc28252012-05-01 18:23:38 -040050obj-$(CONFIG_INTEL_MEI) += mei/
George Zhang20259842013-01-08 15:55:59 -080051obj-$(CONFIG_VMWARE_VMCI) += vmw_vmci/
Stefan Roese781551d2012-12-07 09:06:59 +010052obj-$(CONFIG_LATTICE_ECP3_CONFIG) += lattice-ecp3-config.o
Philipp Zabel4984c6f2013-04-29 16:17:12 -070053obj-$(CONFIG_SRAM) += sram.o
Sudeep Duttb170d8c2013-09-05 16:41:31 -070054obj-y += mic/
Frank Haverkamp76f5adb2013-12-09 13:30:44 +010055obj-$(CONFIG_GENWQE) += genwqe/
Greg Kroah-Hartman6e2055a2014-02-28 14:08:42 -080056obj-$(CONFIG_ECHO) += echo/
Pawel Moll974cc7b2014-04-23 10:49:31 +010057obj-$(CONFIG_VEXPRESS_SYSCFG) += vexpress-syscfg.o
Ian Munsie10542ca2014-10-08 19:55:01 +110058obj-$(CONFIG_CXL_BASE) += cxl/
Ksenija Stanojevic305b37b2016-02-03 12:31:49 +010059obj-$(CONFIG_PANEL) += panel.o
Kees Cook9e197e22016-02-22 14:05:44 -080060
61lkdtm-$(CONFIG_LKDTM) += lkdtm_core.o
Kees Cook9a49a522016-02-22 14:09:29 -080062lkdtm-$(CONFIG_LKDTM) += lkdtm_rodata_objcopy.o
Kees Cooka3dff712016-06-26 08:46:23 -070063lkdtm-$(CONFIG_LKDTM) += lkdtm_usercopy.o
Kees Cook9a49a522016-02-22 14:09:29 -080064
65OBJCOPYFLAGS :=
66OBJCOPYFLAGS_lkdtm_rodata_objcopy.o := \
67 --set-section-flags .text=alloc,readonly \
68 --rename-section .text=.rodata
69$(obj)/lkdtm_rodata_objcopy.o: $(obj)/lkdtm_rodata.o
70 $(call if_changed,objcopy)