• S
    kbuild: limit dtc+cpp include path · e570d7c1
    Stephen Warren 提交于
    Device tree source files may now include header files. The intent is
    that those header files define/name constants used as part of the DT
    bindings. Currently this feature is open to abuse, since any kernel
    header file at all can be included, This could allow device tree files
    to become dependant on kernel headers files, and thus make them no
    longer OS-independent. This would also prevent separating the device
    tree source files from the kernel repository.
    
    Solve this by limiting the cpp include path for device tree files to
    separate directories.
    Signed-off-by: NStephen Warren <swarren@nvidia.com>
    Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
    e570d7c1
Makefile.lib 13.5 KB