Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for misc devices that really don't fit anywhere else. |
| 3 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
Ankita Garg | 8bb31b9 | 2006-10-02 02:17:36 -0700 | [diff] [blame] | 5 | obj-$(CONFIG_IBM_ASM) += ibmasm/ |
Michael Hennerich | 4eb174b | 2009-12-14 18:00:15 -0800 | [diff] [blame] | 6 | obj-$(CONFIG_AD525X_DPOT) += ad525x_dpot.o |
Michael Hennerich | 6c536e4 | 2010-05-24 14:33:14 -0700 | [diff] [blame] | 7 | obj-$(CONFIG_AD525X_DPOT_I2C) += ad525x_dpot-i2c.o |
| 8 | obj-$(CONFIG_AD525X_DPOT_SPI) += ad525x_dpot-spi.o |
J Freyensee | fc360ee | 2011-06-17 15:13:33 -0700 | [diff] [blame] | 9 | obj-$(CONFIG_INTEL_MID_PTI) += pti.o |
Hans-Christian Egtvedt | eb1f293 | 2007-10-16 23:26:11 -0700 | [diff] [blame] | 10 | obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o |
David Brownell | 2a341f5 | 2008-02-22 17:23:23 -0800 | [diff] [blame] | 11 | obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o |
Christoph Mair | 5bf1d29 | 2010-08-09 17:20:28 -0700 | [diff] [blame] | 12 | obj-$(CONFIG_BMP085) += bmp085.o |
Eric Andersson | 985087d | 2012-04-09 22:16:17 +0200 | [diff] [blame] | 13 | obj-$(CONFIG_BMP085_I2C) += bmp085-i2c.o |
| 14 | obj-$(CONFIG_BMP085_SPI) += bmp085-spi.o |
Jiri Kosina | 54f69b9 | 2013-03-21 00:21:21 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_DUMMY_IRQ) += dummy-irq.o |
Darrick J. Wong | a412ae3 | 2008-11-12 13:27:04 -0800 | [diff] [blame] | 16 | obj-$(CONFIG_ICS932S401) += ics932s401.o |
Ankita Garg | 8bb31b9 | 2006-10-02 02:17:36 -0700 | [diff] [blame] | 17 | obj-$(CONFIG_LKDTM) += lkdtm.o |
Alex Dubov | f956512 | 2006-10-04 02:15:38 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_TIFM_CORE) += tifm_core.o |
| 19 | obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o |
Jiri Slaby | cef2cf0 | 2007-05-08 00:31:45 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_PHANTOM) += phantom.o |
Tim Bird | 1f26d1c | 2015-07-16 16:55:32 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_QCOM_COINCELL) += qcom-coincell.o |
Hemanth V | 7efe15f | 2010-08-09 17:20:25 -0700 | [diff] [blame] | 22 | obj-$(CONFIG_SENSORS_BH1780) += bh1780gli.o |
Samu Onkalo | 190420a | 2010-10-26 14:22:37 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_SENSORS_BH1770) += bh1770glc.o |
Samu Onkalo | 92b1f84 | 2010-10-26 14:22:38 -0700 | [diff] [blame] | 24 | obj-$(CONFIG_SENSORS_APDS990X) += apds990x.o |
Brent Casavant | 59f1480 | 2006-10-17 00:09:25 -0700 | [diff] [blame] | 25 | obj-$(CONFIG_SGI_IOC4) += ioc4.o |
James Bottomley | d569d5b | 2008-02-03 15:40:56 -0600 | [diff] [blame] | 26 | obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o |
Jason Wessel | e8d31c2 | 2008-03-07 16:34:17 -0600 | [diff] [blame] | 27 | obj-$(CONFIG_KGDB_TESTS) += kgdbts.o |
Dean Nelson | 45d9ca4 | 2008-04-22 14:46:56 -0500 | [diff] [blame] | 28 | obj-$(CONFIG_SGI_XP) += sgi-xp/ |
Jack Steiner | 3d919e5 | 2008-07-29 22:34:01 -0700 | [diff] [blame] | 29 | obj-$(CONFIG_SGI_GRU) += sgi-gru/ |
Andres Salomon | 82dca61 | 2009-12-14 18:00:37 -0800 | [diff] [blame] | 30 | obj-$(CONFIG_CS5535_MFGPT) += cs5535-mfgpt.o |
David Altobelli | 89bcb05 | 2008-07-02 09:38:53 -0600 | [diff] [blame] | 31 | obj-$(CONFIG_HP_ILO) += hpilo.o |
anantha | 22d96aa | 2010-10-26 14:22:41 -0700 | [diff] [blame] | 32 | obj-$(CONFIG_APDS9802ALS) += apds9802als.o |
Daniel Mack | 3cdbbee | 2009-03-31 15:23:53 -0700 | [diff] [blame] | 33 | obj-$(CONFIG_ISL29003) += isl29003.o |
Kalhan Trisal | 2e85c4d | 2010-10-26 14:22:40 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_ISL29020) += isl29020.o |
Jean Delvare | 6a9bcce | 2010-03-13 20:56:54 +0100 | [diff] [blame] | 35 | obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o |
Wolfram Sang | dddc66f | 2009-12-06 17:06:16 +0100 | [diff] [blame] | 36 | obj-$(CONFIG_DS1682) += ds1682.o |
Daniel Mack | 4d00928 | 2009-12-14 18:00:17 -0800 | [diff] [blame] | 37 | obj-$(CONFIG_TI_DAC7512) += ti_dac7512.o |
Rodolfo Giometti | 4e17e1d | 2008-11-12 13:27:12 -0800 | [diff] [blame] | 38 | obj-$(CONFIG_C2PORT) += c2port/ |
Kalhan Trisal | cfa3b24 | 2010-08-09 17:21:05 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_HMC6352) += hmc6352.o |
Wolfram Sang | 5195e50 | 2009-01-26 21:19:53 +0100 | [diff] [blame] | 40 | obj-y += eeprom/ |
Michał Mirosław | 5f5bac8 | 2009-05-22 20:33:59 +0200 | [diff] [blame] | 41 | obj-y += cb710/ |
Pratyush Anand | b950054 | 2011-03-22 16:33:58 -0700 | [diff] [blame] | 42 | obj-$(CONFIG_SPEAR13XX_PCIE_GADGET) += spear13xx_pcie_gadget.o |
Dmitry Torokhov | d544b7a4 | 2010-09-22 13:04:57 -0700 | [diff] [blame] | 43 | obj-$(CONFIG_VMWARE_BALLOON) += vmw_balloon.o |
Linus Walleij | ce89624 | 2010-07-17 12:33:48 +0100 | [diff] [blame] | 44 | obj-$(CONFIG_ARM_CHARLCD) += arm-charlcd.o |
Masayuki Ohtak | cf4ece5 | 2010-09-01 21:16:30 +0900 | [diff] [blame] | 45 | obj-$(CONFIG_PCH_PHUB) += pch_phub.o |
Pavan Savoy | 2bb32e8 | 2010-10-06 12:18:15 -0400 | [diff] [blame] | 46 | obj-y += ti-st/ |
Jean Delvare | ff60667 | 2011-03-21 17:59:36 +0100 | [diff] [blame] | 47 | obj-y += lis3lv02d/ |
Donggeun Kim | a1bb73d | 2011-07-25 17:13:07 -0700 | [diff] [blame] | 48 | obj-$(CONFIG_USB_SWITCH_FSA9480) += fsa9480.o |
Igor M. Liplianin | cff4fa8 | 2011-09-23 11:17:41 -0300 | [diff] [blame] | 49 | obj-$(CONFIG_ALTERA_STAPL) +=altera-stapl/ |
Greg Kroah-Hartman | ffc2825 | 2012-05-01 18:23:38 -0400 | [diff] [blame] | 50 | obj-$(CONFIG_INTEL_MEI) += mei/ |
George Zhang | 2025984 | 2013-01-08 15:55:59 -0800 | [diff] [blame] | 51 | obj-$(CONFIG_VMWARE_VMCI) += vmw_vmci/ |
Stefan Roese | 781551d | 2012-12-07 09:06:59 +0100 | [diff] [blame] | 52 | obj-$(CONFIG_LATTICE_ECP3_CONFIG) += lattice-ecp3-config.o |
Philipp Zabel | 4984c6f | 2013-04-29 16:17:12 -0700 | [diff] [blame] | 53 | obj-$(CONFIG_SRAM) += sram.o |
Sudeep Dutt | b170d8c | 2013-09-05 16:41:31 -0700 | [diff] [blame] | 54 | obj-y += mic/ |
Frank Haverkamp | 76f5adb | 2013-12-09 13:30:44 +0100 | [diff] [blame] | 55 | obj-$(CONFIG_GENWQE) += genwqe/ |
Greg Kroah-Hartman | 6e2055a | 2014-02-28 14:08:42 -0800 | [diff] [blame] | 56 | obj-$(CONFIG_ECHO) += echo/ |
Pawel Moll | 974cc7b | 2014-04-23 10:49:31 +0100 | [diff] [blame] | 57 | obj-$(CONFIG_VEXPRESS_SYSCFG) += vexpress-syscfg.o |
Ian Munsie | 10542ca | 2014-10-08 19:55:01 +1100 | [diff] [blame] | 58 | obj-$(CONFIG_CXL_BASE) += cxl/ |
Ksenija Stanojevic | 305b37b | 2016-02-03 12:31:49 +0100 | [diff] [blame] | 59 | obj-$(CONFIG_PANEL) += panel.o |
Kees Cook | 9e197e2 | 2016-02-22 14:05:44 -0800 | [diff] [blame] | 60 | |
| 61 | lkdtm-$(CONFIG_LKDTM) += lkdtm_core.o |
Kees Cook | 00f496c | 2016-06-26 22:17:25 -0700 | [diff] [blame] | 62 | lkdtm-$(CONFIG_LKDTM) += lkdtm_bugs.o |
Kees Cook | ffc514f | 2016-06-26 21:45:23 -0700 | [diff] [blame] | 63 | lkdtm-$(CONFIG_LKDTM) += lkdtm_heap.o |
Kees Cook | 0d9eb29 | 2016-06-26 15:12:31 -0700 | [diff] [blame] | 64 | lkdtm-$(CONFIG_LKDTM) += lkdtm_perms.o |
Kees Cook | 9a49a52 | 2016-02-22 14:09:29 -0800 | [diff] [blame] | 65 | lkdtm-$(CONFIG_LKDTM) += lkdtm_rodata_objcopy.o |
Kees Cook | a3dff71 | 2016-06-26 08:46:23 -0700 | [diff] [blame] | 66 | lkdtm-$(CONFIG_LKDTM) += lkdtm_usercopy.o |
Kees Cook | 9a49a52 | 2016-02-22 14:09:29 -0800 | [diff] [blame] | 67 | |
| 68 | OBJCOPYFLAGS := |
| 69 | OBJCOPYFLAGS_lkdtm_rodata_objcopy.o := \ |
| 70 | --set-section-flags .text=alloc,readonly \ |
| 71 | --rename-section .text=.rodata |
Kees Cook | e50bd23 | 2016-08-01 14:18:34 -0700 | [diff] [blame] | 72 | targets += lkdtm_rodata.o lkdtm_rodata_objcopy.o |
| 73 | $(obj)/lkdtm_rodata_objcopy.o: $(obj)/lkdtm_rodata.o FORCE |
Kees Cook | 9a49a52 | 2016-02-22 14:09:29 -0800 | [diff] [blame] | 74 | $(call if_changed,objcopy) |