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.
  • 相关阅读:
    shell遍历文件夹并执行命令
    安装PIL的坑
    iptables不小心把127.0.0.1封了,导致redis连不上
    python读取中文
    不要在基类析构函数中调用纯虚函数,否则运行时会报错“pure virtual method called”
    阿里云64位centos6.3系统上编译安装redis
    Git
    Easy Mock
    Sortable
    几个框架
  • 原文地址:https://www.cnblogs.com/wang1994/p/5454941.html
Copyright © 2011-2022 走看看