blob: cfea4a561660285ac269412c7adf388a30079a57 [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
Jiri Kosina54f69b92013-03-21 00:21:21 +010012obj-$(CONFIG_DUMMY_IRQ) += dummy-irq.o
Darrick J. Wonga412ae32008-11-12 13:27:04 -080013obj-$(CONFIG_ICS932S401) += ics932s401.o
Ankita Garg8bb31b92006-10-02 02:17:36 -070014obj-$(CONFIG_LKDTM) += lkdtm.o
Alex Dubovf9565122006-10-04 02:15:38 -070015obj-$(CONFIG_TIFM_CORE) += tifm_core.o
16obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o
Jiri Slabycef2cf02007-05-08 00:31:45 -070017obj-$(CONFIG_PHANTOM) += phantom.o
Tim Bird1f26d1c2015-07-16 16:55:32 -070018obj-$(CONFIG_QCOM_COINCELL) += qcom-coincell.o
Samu Onkalo190420a2010-10-26 14:22:37 -070019obj-$(CONFIG_SENSORS_BH1770) += bh1770glc.o
Samu Onkalo92b1f842010-10-26 14:22:38 -070020obj-$(CONFIG_SENSORS_APDS990X) += apds990x.o
Brent Casavant59f14802006-10-17 00:09:25 -070021obj-$(CONFIG_SGI_IOC4) += ioc4.o
James Bottomleyd569d5b2008-02-03 15:40:56 -060022obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o
Jason Wessele8d31c22008-03-07 16:34:17 -060023obj-$(CONFIG_KGDB_TESTS) += kgdbts.o
Dean Nelson45d9ca42008-04-22 14:46:56 -050024obj-$(CONFIG_SGI_XP) += sgi-xp/
Jack Steiner3d919e52008-07-29 22:34:01 -070025obj-$(CONFIG_SGI_GRU) += sgi-gru/
Andres Salomon82dca612009-12-14 18:00:37 -080026obj-$(CONFIG_CS5535_MFGPT) += cs5535-mfgpt.o
David Altobelli89bcb052008-07-02 09:38:53 -060027obj-$(CONFIG_HP_ILO) += hpilo.o
anantha22d96aa2010-10-26 14:22:41 -070028obj-$(CONFIG_APDS9802ALS) += apds9802als.o
Daniel Mack3cdbbee2009-03-31 15:23:53 -070029obj-$(CONFIG_ISL29003) += isl29003.o
Kalhan Trisal2e85c4d2010-10-26 14:22:40 -070030obj-$(CONFIG_ISL29020) += isl29020.o
Jean Delvare6a9bcce2010-03-13 20:56:54 +010031obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o
Wolfram Sangdddc66f2009-12-06 17:06:16 +010032obj-$(CONFIG_DS1682) += ds1682.o
Daniel Mack4d009282009-12-14 18:00:17 -080033obj-$(CONFIG_TI_DAC7512) += ti_dac7512.o
Rodolfo Giometti4e17e1d2008-11-12 13:27:12 -080034obj-$(CONFIG_C2PORT) += c2port/
Kalhan Trisalcfa3b242010-08-09 17:21:05 -070035obj-$(CONFIG_HMC6352) += hmc6352.o
Wolfram Sang5195e502009-01-26 21:19:53 +010036obj-y += eeprom/
Michał Mirosław5f5bac82009-05-22 20:33:59 +020037obj-y += cb710/
Pratyush Anandb9500542011-03-22 16:33:58 -070038obj-$(CONFIG_SPEAR13XX_PCIE_GADGET) += spear13xx_pcie_gadget.o
Dmitry Torokhovd544b7a42010-09-22 13:04:57 -070039obj-$(CONFIG_VMWARE_BALLOON) += vmw_balloon.o
Linus Walleijce896242010-07-17 12:33:48 +010040obj-$(CONFIG_ARM_CHARLCD) += arm-charlcd.o
Masayuki Ohtakcf4ece52010-09-01 21:16:30 +090041obj-$(CONFIG_PCH_PHUB) += pch_phub.o
Pavan Savoy2bb32e82010-10-06 12:18:15 -040042obj-y += ti-st/
Jean Delvareff606672011-03-21 17:59:36 +010043obj-y += lis3lv02d/
Donggeun Kima1bb73d2011-07-25 17:13:07 -070044obj-$(CONFIG_USB_SWITCH_FSA9480) += fsa9480.o
Igor M. Liplianincff4fa82011-09-23 11:17:41 -030045obj-$(CONFIG_ALTERA_STAPL) +=altera-stapl/
Greg Kroah-Hartmanffc28252012-05-01 18:23:38 -040046obj-$(CONFIG_INTEL_MEI) += mei/
George Zhang20259842013-01-08 15:55:59 -080047obj-$(CONFIG_VMWARE_VMCI) += vmw_vmci/
Stefan Roese781551d2012-12-07 09:06:59 +010048obj-$(CONFIG_LATTICE_ECP3_CONFIG) += lattice-ecp3-config.o
Philipp Zabel4984c6f2013-04-29 16:17:12 -070049obj-$(CONFIG_SRAM) += sram.o
Sudeep Duttb170d8c2013-09-05 16:41:31 -070050obj-y += mic/
Frank Haverkamp76f5adb2013-12-09 13:30:44 +010051obj-$(CONFIG_GENWQE) += genwqe/
Tatenda Chipeperekwa65935362017-06-07 13:44:11 -070052obj-$(CONFIG_HDCP_QSEECOM) += hdcp.o
AnilKumar Chimata20c6b2f2017-04-07 12:18:46 -070053obj-$(CONFIG_QSEECOM) += qseecom.o
Greg Kroah-Hartman6e2055a2014-02-28 14:08:42 -080054obj-$(CONFIG_ECHO) += echo/
Pawel Moll974cc7b2014-04-23 10:49:31 +010055obj-$(CONFIG_VEXPRESS_SYSCFG) += vexpress-syscfg.o
Ian Munsie10542ca2014-10-08 19:55:01 +110056obj-$(CONFIG_CXL_BASE) += cxl/
Ksenija Stanojevic305b37b2016-02-03 12:31:49 +010057obj-$(CONFIG_PANEL) += panel.o
Subbaraman Narayanamurthye68d90f2017-04-03 15:05:21 -070058obj-$(CONFIG_QPNP_MISC) += qpnp-misc.o
Banajit Goswami0530e2f2016-12-09 21:34:37 -080059obj-y += qcom/
James Carr5ae143f2016-07-29 19:02:16 -070060obj-$(CONFIG_MEMORY_STATE_TIME) += memory_state_time.o
Kees Cook9e197e22016-02-22 14:05:44 -080061
Jin Qian735a2da2017-01-10 16:11:07 -080062obj-$(CONFIG_UID_SYS_STATS) += uid_sys_stats.o
James Carrad3c02f2016-07-29 19:02:16 -070063obj-$(CONFIG_MEMORY_STATE_TIME) += memory_state_time.o
jinqian69014222015-03-11 10:44:50 -070064
Kees Cook9e197e22016-02-22 14:05:44 -080065lkdtm-$(CONFIG_LKDTM) += lkdtm_core.o
Kees Cook00f496c2016-06-26 22:17:25 -070066lkdtm-$(CONFIG_LKDTM) += lkdtm_bugs.o
Kees Cookffc514f2016-06-26 21:45:23 -070067lkdtm-$(CONFIG_LKDTM) += lkdtm_heap.o
Kees Cook0d9eb292016-06-26 15:12:31 -070068lkdtm-$(CONFIG_LKDTM) += lkdtm_perms.o
Kees Cook9a49a522016-02-22 14:09:29 -080069lkdtm-$(CONFIG_LKDTM) += lkdtm_rodata_objcopy.o
Kees Cooka3dff712016-06-26 08:46:23 -070070lkdtm-$(CONFIG_LKDTM) += lkdtm_usercopy.o
Kees Cook9a49a522016-02-22 14:09:29 -080071
72OBJCOPYFLAGS :=
73OBJCOPYFLAGS_lkdtm_rodata_objcopy.o := \
74 --set-section-flags .text=alloc,readonly \
75 --rename-section .text=.rodata
Kees Cooke50bd232016-08-01 14:18:34 -070076targets += lkdtm_rodata.o lkdtm_rodata_objcopy.o
77$(obj)/lkdtm_rodata_objcopy.o: $(obj)/lkdtm_rodata.o FORCE
Kees Cook9a49a522016-02-22 14:09:29 -080078 $(call if_changed,objcopy)