zoukankan      html  css  js  c++  java
  • kernel makefile分析 之include路径分析

    arch/arm/Makefile

    # Machine directory name.  This list is sorted alphanumerically
    # by CONFIG_* macro name.

    machine-$(CONFIG_ARCH_AAEC2000)     := aaec2000
    machine-$(CONFIG_ARCH_AT91)     := at91
    ……

    machine-$(CONFIG_ARCH_S3C2410)      := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443

    # Platform directory name.  This list is sorted alphanumerically
    # by CONFIG_* macro name.
    plat-$(CONFIG_ARCH_MXC)     := mxc
    plat-$(CONFIG_ARCH_OMAP)    := omap
    plat-$(CONFIG_PLAT_IOP)     := iop
    plat-$(CONFIG_PLAT_ORION)   := orion
    plat-$(CONFIG_PLAT_PXA)     := pxa
    plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c
    plat-$(CONFIG_PLAT_S3C64XX) := s3c64xx s3c
    plat-$(CONFIG_PLAT_S5PC1XX) := s5pc1xx s3c
    plat-$(CONFIG_ARCH_STMP3XXX)    := stmp3xxx

    machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
    platdirs := $(patsubst %,arch/arm/plat-%/,$(plat-y))

    ifeq ($(KBUILD_SRC),)
    KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs))

  • 相关阅读:
    27. 移除元素
    LeetCode---9.回文数
    PAT 1098 Insertion or Heap Sort (25)
    PAT 1146 Topological Order
    PAT 1147 Heaps(30 分)
    数据结构 二分查找1
    数据结构 树
    PAT 1126 Eulerian Path
    PAT 1111 Online Map (30)
    PAT 1072 Gas Station (30)
  • 原文地址:https://www.cnblogs.com/cute/p/1995390.html
Copyright © 2011-2022 走看看