准备配置文件
创建Project1.vcxproj配置文件
文件中添加如下内容
Debug x64 Linux Project1 15.0 Linux 1.0 Generic {2238F9CD-F817-4ECC-BD14-2524D2669B35} true D:/Linux/linux-3.4.39.6818/include; D:/Linux/linux-3.4.39.6818/arch/arm/include; D:/Linux/linux-3.4.39.6818/arch/arm/include/generated; D:/Linux/linux-3.4.39.6818/arch/arm/mach-s5p6818/include; D:/Linux/linux-3.4.39.6818/arch/arm/plat-s5p6818/include; D:/Linux/linux-3.4.39.6818/arch/arm/plat-s5p6818/common; D:/Linux/linux-3.4.39.6818/arch/arm/plat-s5p6818/GEC6818/include; %(AdditionalIncludeDirectories) __KERNEL__;CONFIG_RWSEM_GENERIC_SPINLOCK
项 | 描述 |
---|---|
kernel/include | 内核头文件 |
kernel/arch/arm/include | 内核平台相关 |
kernel/arch/arm/include/generated | 内核编译后生成的头文件放置目录 |
kernel/arch/arm/mach-s5p6818/include | mach-xx需要根据芯片选择 |
结束
来源:https://www.cnblogs.com/long-bky/p/12501820.html