zoukankan      html  css  js  c++  java
  • 博创arm板编译内核makefile不兼容问题解决

    导致这种结果的是:Make工具对低版本内核的Makefile一些旧的规则兼容不好,我们只需修改对应的Makefile。

    改1::

    原始的:

             大概在 1503行 / %/: prepare scripts FORCE
             $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1)
             $(build)=$(build-dir)
    修改后:
              /: prepare scripts FORCE
                       $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1)
                       $(build)=$(build-dir)
             %/: prepare scripts FORCE
                       $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1)
                        $(build)=$(build-dir)
    改二:
    原始的:
             大概在 435行:

              config %config: scripts_basic outputmakefile FORCE
                                     $(Q)mkdir -p include/linux include/config
                                     $(Q)$(MAKE) $(build)=scripts/kconfig $@
    修改后:
            config: scripts_basic outputmakefile FORCE
                    $(Q)mkdir -p include/linux include/config
                        $(Q)$(MAKE) $(build)=scripts/kconfig $@
          %config: scripts_basic outputmakefile FORCE
                         $(Q)mkdir -p include/linux include/config
                         $(Q)$(MAKE) $(build)=scripts/kconfig $@

    The future's not set,there is no fate but what we make for ourselves.
  • 相关阅读:
    container宽度
    NO.14 两个div并排,左边为绝对宽度,右边为相对宽度
    CSS3旋转图片效果收集
    背景图片问题
    CSS动画
    前端比较有用的网址
    JS如何判断IE和火狐与Chrome浏览器
    JAVA多线程面试题目
    JAVA多线程之Semaphore
    阿里多线程笔试题
  • 原文地址:https://www.cnblogs.com/wang1994/p/5454941.html
Copyright © 2011-2022 走看看