• 内核编译内置built in


    ubuntu@ubuntu:linux-5.4.60-89/drivers/input$ cat built-in.a 
    !<thin>
    //                                              476       `
    input.o/
    input-compat.o/
    input-mt.o/
    input-poller.o/
    ff-core.o/
    mousedev.o/
    evdev.o/
    evbug.o/
    keyboard/atkbd.o/
    mouse/psmouse-base.o/
    mouse/synaptics.o/
    mouse/focaltech.o/
    mouse/alps.o/
    mouse/byd.o/
    mouse/logips2pp.o/
    mouse/trackpoint.o/
    mouse/cypress_ps2.o/
    touchscreen/of_touchscreen.o/
    rmi4/rmi_bus.o/
    rmi4/rmi_driver.o/
    rmi4/rmi_f01.o/
    rmi4/rmi_2d_sensor.o/
    rmi4/rmi_f03.o/
    rmi4/rmi_f11.o/
    rmi4/rmi_f12.o/
    rmi4/rmi_f30.o/
    rmi4/rmi_f34.o/
    rmi4/rmi_f34v7.o/
    rmi4/rmi_f55.o/
    /0              0           0     0     644     45952     `
    /9              0           0     0     644     2424      `
    /25             0           0     0     644     5160      `
    /37             0           0     0     644     5688      `
    /53             0           0     0     644     5240      `
    /64             0           0     0     644     23104     `
    /76             0           0     0     644     30200     `
    /85             0           0     0     644     5552      `
    /94             0           0     0     644     32544     `
    /112            0           0     0     644     41352     `
    /134            0           0     0     644     26560     `
    /153            0           0     0     644     6928      `
    /172            0           0     0     644     39456     `
    /186            0           0     0     644     6360      `
    /199            0           0     0     644     8312      `
    /218            0           0     0     644     15464     `
    /238            0           0     0     644     9512      `
    /259            0           0     0     644     4880      `
    /289            0           0     0     644     13568     `
    /305            0           0     0     644     21720     `
    /324            0           0     0     644     12680     `
    /340           /0           0     0     644     6664      `
    /362            0           0     0     644     7784      `
    /378            0           0     0     644     8592      `
    /394            0           0     0     644     9136      `
    /410            0           0     0     644     6152      `
    /426            0           0     0     644     15792     `
    /442            0           0     0     644     21624     `
    /460            0           0     0     644     3064      `
    ubuntu@ubuntu:linux-5.4.60-89/drivers/input$ cat Makefile 
    # SPDX-License-Identifier: GPL-2.0
    #
    # Makefile for the input core drivers.
    #
    
    # Each configuration option enables a list of files.
    
    obj-$(CONFIG_INPUT)             += input-core.o
    input-core-y := input.o input-compat.o input-mt.o input-poller.o ff-core.o
    
    obj-$(CONFIG_INPUT_FF_MEMLESS)  += ff-memless.o
    obj-$(CONFIG_INPUT_POLLDEV)     += input-polldev.o
    obj-$(CONFIG_INPUT_SPARSEKMAP)  += sparse-keymap.o
    obj-$(CONFIG_INPUT_MATRIXKMAP)  += matrix-keymap.o
    
    obj-$(CONFIG_INPUT_LEDS)        += input-leds.o
    obj-$(CONFIG_INPUT_MOUSEDEV)    += mousedev.o
    obj-$(CONFIG_INPUT_JOYDEV)      += joydev.o
    obj-$(CONFIG_INPUT_EVDEV)       += evdev.o
    obj-$(CONFIG_INPUT_EVBUG)       += evbug.o
    
    obj-$(CONFIG_INPUT_KEYBOARD)    += keyboard/
    obj-$(CONFIG_INPUT_MOUSE)       += mouse/
    obj-$(CONFIG_INPUT_JOYSTICK)    += joystick/
    obj-$(CONFIG_INPUT_TABLET)      += tablet/
    obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/
    obj-$(CONFIG_INPUT_MISC)        += misc/
    
    obj-$(CONFIG_INPUT_APMPOWER)    += apm-power.o
    
    obj-$(CONFIG_RMI4_CORE)         += rmi4/
    ubuntu@ubuntu:linux-5.4.60-89/drivers/input$ cd -
    drivers/input/keyboard
    ubuntu@ubuntu:/inux-5.4.60-89/drivers/input/keyboard$ cat built-in.a 
    !<thin>
    //                                              10        `
    atkbd.o/
    
    /0              0           0     0     644     32544     `
    ubuntu@ubuntu:linux-5.4.60-89/drivers/input/keyboard$ ls 8o
    ls: cannot access '8o': No such file or directory
    ubuntu@ubuntu:/linux-5.4.60-89/drivers/input/keyboard$ ls *o
    atkbd.o
    ubuntu@ubuntu:linux-5.4.60-89/drivers/input/keyboard$ cat built-in.a 
    !<thin>
    //                                              10        `
    atkbd.o/
    
    /0              0           0     0     644     32544     `
    ubuntu@ubuntu: linux-5.4.60-89/drivers/input/keyboard$ cat Makefile 
    # SPDX-License-Identifier: GPL-2.0
    #
    # Makefile for the input core drivers.
    #
    
    # Each configuration option enables a list of files.
    
    obj-$(CONFIG_KEYBOARD_ADC)              += adc-keys.o
    obj-$(CONFIG_KEYBOARD_ADP5520)          += adp5520-keys.o
    obj-$(CONFIG_KEYBOARD_ADP5588)          += adp5588-keys.o
    obj-$(CONFIG_KEYBOARD_ADP5589)          += adp5589-keys.o
    obj-$(CONFIG_KEYBOARD_AMIGA)            += amikbd.o
    obj-$(CONFIG_KEYBOARD_APPLESPI)         += applespi.o
    obj-$(CONFIG_KEYBOARD_ATARI)            += atakbd.o
    obj-$(CONFIG_KEYBOARD_ATKBD)            += atkbd.o
    obj-$(CONFIG_KEYBOARD_BCM)              += bcm-keypad.o
    obj-$(CONFIG_KEYBOARD_CAP11XX)          += cap11xx.o
    obj-$(CONFIG_KEYBOARD_CLPS711X)         += clps711x-keypad.o
    obj-$(CONFIG_KEYBOARD_CROS_EC)          += cros_ec_keyb.o
    obj-$(CONFIG_KEYBOARD_DAVINCI)          += davinci_keyscan.o
    obj-$(CONFIG_KEYBOARD_DLINK_DIR685)     += dlink-dir685-touchkeys.o
    obj-$(CONFIG_KEYBOARD_EP93XX)           += ep93xx_keypad.o
    obj-$(CONFIG_KEYBOARD_GOLDFISH_EVENTS)  += goldfish_events.o
    obj-$(CONFIG_KEYBOARD_GPIO)             += gpio_keys.o
    obj-$(CONFIG_KEYBOARD_GPIO_POLLED)      += gpio_keys_polled.o
    obj-$(CONFIG_KEYBOARD_TCA6416)          += tca6416-keypad.o
    obj-$(CONFIG_KEYBOARD_TCA8418)          += tca8418_keypad.o
    obj-$(CONFIG_KEYBOARD_HIL)              += hil_kbd.o
    obj-$(CONFIG_KEYBOARD_HIL_OLD)          += hilkbd.o
    obj-$(CONFIG_KEYBOARD_IPAQ_MICRO)       += ipaq-micro-keys.o
    obj-$(CONFIG_KEYBOARD_IMX)              += imx_keypad.o
    obj-$(CONFIG_KEYBOARD_HP6XX)            += jornada680_kbd.o
    obj-$(CONFIG_KEYBOARD_HP7XX)            += jornada720_kbd.o
    obj-$(CONFIG_KEYBOARD_LKKBD)            += lkkbd.o
    obj-$(CONFIG_KEYBOARD_LM8323)           += lm8323.o
    obj-$(CONFIG_KEYBOARD_LM8333)           += lm8333.o
    obj-$(CONFIG_KEYBOARD_LOCOMO)           += locomokbd.o
    obj-$(CONFIG_KEYBOARD_LPC32XX)          += lpc32xx-keys.o
    obj-$(CONFIG_KEYBOARD_MAPLE)            += maple_keyb.o
    obj-$(CONFIG_KEYBOARD_MATRIX)           += matrix_keypad.o
    obj-$(CONFIG_KEYBOARD_MAX7359)          += max7359_keypad.o
    obj-$(CONFIG_KEYBOARD_MCS)              += mcs_touchkey.o
    obj-$(CONFIG_KEYBOARD_MPR121)           += mpr121_touchkey.o
    obj-$(CONFIG_KEYBOARD_MTK_PMIC)         += mtk-pmic-keys.o
    obj-$(CONFIG_KEYBOARD_NEWTON)           += newtonkbd.o
    obj-$(CONFIG_KEYBOARD_NOMADIK)          += nomadik-ske-keypad.o
    obj-$(CONFIG_KEYBOARD_NSPIRE)           += nspire-keypad.o
    obj-$(CONFIG_KEYBOARD_OMAP)             += omap-keypad.o
    obj-$(CONFIG_KEYBOARD_OMAP4)            += omap4-keypad.o
    obj-$(CONFIG_KEYBOARD_OPENCORES)        += opencores-kbd.o
    obj-$(CONFIG_KEYBOARD_PMIC8XXX)         += pmic8xxx-keypad.o
    obj-$(CONFIG_KEYBOARD_PXA27x)           += pxa27x_keypad.o
    obj-$(CONFIG_KEYBOARD_PXA930_ROTARY)    += pxa930_rotary.o
    obj-$(CONFIG_KEYBOARD_QT1050)           += qt1050.o
    obj-$(CONFIG_KEYBOARD_QT1070)           += qt1070.o
    obj-$(CONFIG_KEYBOARD_QT2160)           += qt2160.o
    obj-$(CONFIG_KEYBOARD_SAMSUNG)          += samsung-keypad.o
    obj-$(CONFIG_KEYBOARD_SH_KEYSC)         += sh_keysc.o
    obj-$(CONFIG_KEYBOARD_SNVS_PWRKEY)      += snvs_pwrkey.o
    obj-$(CONFIG_KEYBOARD_SPEAR)            += spear-keyboard.o
    obj-$(CONFIG_KEYBOARD_STMPE)            += stmpe-keypad.o
    obj-$(CONFIG_KEYBOARD_STOWAWAY)         += stowaway.o
    obj-$(CONFIG_KEYBOARD_ST_KEYSCAN)       += st-keyscan.o
    obj-$(CONFIG_KEYBOARD_SUN4I_LRADC)      += sun4i-lradc-keys.o
    obj-$(CONFIG_KEYBOARD_SUNKBD)           += sunkbd.o
    obj-$(CONFIG_KEYBOARD_TC3589X)          += tc3589x-keypad.o
    obj-$(CONFIG_KEYBOARD_TEGRA)            += tegra-kbc.o
    obj-$(CONFIG_KEYBOARD_TM2_TOUCHKEY)     += tm2-touchkey.o
    obj-$(CONFIG_KEYBOARD_TWL4030)          += twl4030_keypad.o
    obj-$(CONFIG_KEYBOARD_XTKBD)            += xtkbd.o
    ubuntu@ubuntu: linux-5.4.60-89/drivers/input/keyboard$ 

    新增

     

    linux-5.4.60-89/drivers/input# ls keyboard/*o
    keyboard/atkbd.o  keyboard/bcm-keypad.o  keyboard/lkkbd.o  keyboard/newtonkbd.o  keyboard/omap4-keypad.o  keyboard/opencores-kbd.o  keyboard/samsung-keypad.o  keyboard/stowaway.o  keyboard/sunkbd.o  keyboard/xtkbd.o
  • 相关阅读:
    php configure –help说明
    HTML5(目前)无法帮你实现的五件事多媒体
    Centos搭建PHP5.3.8+Nginx1.0.9+Mysql5.5.17
    lighttpdmod_secdownload 防盗链
    中文环境下PostgreSQL的使用
    一步一步教你安装Nginx+PHP+Mysql
    20+ 个免费和高级的 Web 视频播放器
    二十个你必须知道的SEO概念
    IO流
    sofaBoot
  • 原文地址:https://www.cnblogs.com/dream397/p/14007346.html
Copyright © 2020-2023  润新知