• Anton Burtsev's avatar
    Clean up user-level includes, build inskern4lcd tool · 2d55c00d
    Anton Burtsev authored
    It took me a while to figure out a suggested layout for Linux
    user-visible headers. I ended up with this:
      ./include/lcd/lcd.h -- includes #include <uapi/linux/lcd.h>
      ./include/uapi/linux/lcd.h -- this file will be installed to
    Note on installing user-visible header files
     1) Add header-y += lcd.h line to include/uapi/linux/Kbuild
     2) Install sanitized header files into ./usr/include
        sudo make install_headers
     3) Copy ./usr/include to /usr/include
        sudo find usr/include \( -name .install -o -name ..install.cmd \) -delete
        sudo cp -rv usr/include/* /usr/include
insmod4lcd.c 3.76 KB