OpenWRT移植(一)

1.下载源码包等 https://openwrt.org/docs/guide-developer/source-code/start
     beagelbone https://downloads.lede-project.org/releases/17.01.4/targets/omap/generic/
        git clone https://github.com/openwrt/openwrt.git
2.安装相关依赖软件
    You need to have installed gcc, binutils, bzip2, flex, python, perl, make,

    find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers.
    libpam,libgnutls,libopenldap,libidn,libssh2,liblzma,libnetsnmp
3.更新package
    1)Run "./scripts/feeds update -a" to get all the latest package definitions
d
    defined in feeds.conf / feeds.conf.default respectively
a and "./scripts/feeds install -a" to install         symlinks of all of them into
p package/feeds/.
    2)https://downloads.openwrt.org/releases/packages-17.01/
    3)git clone https://git.lede-project.org/openwrt/source.git 

    git clone https://git.lede-project.org/openwrt/packages.git
    git clone https://git.lede-project.org/openwrt/feeds.git 
    git clone https://git.lede-project.org/openwrt/docs.git

 4.配置
    Use "make menuconfig" to configure your image.
    Simply running "make" will build your firmware.

    It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

    To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive         filesystem required). Cygwin will not be supported because of
 the lack of case sensitiveness in the file      system.

5.feed源

修改源
src-git packages https://github.com/openwrt/packages
src-git luci https://github.com/openwrt/luci 
src-git routing https://github.com/openwrt-routing/packages
src-git telephony https://github.com/openwrt/telephony

你可能感兴趣的:(openwrt)