上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 77 下一页
摘要: 答:这是个模式替换函数,格式为: 查找text中的单词,如果匹配pattern,那么就用replacement的内容替换 举例: $(patsubst %.c,%.o,jello1.c jello2.c) 那么将会替换成jello1.o jello2.o 阅读全文
posted @ 2019-04-23 18:36 Jello 阅读(768) 评论(0) 推荐(0)
摘要: 答:为了避免应用新补丁时出现无法应用的问题 如普通package的补丁refresh: make package/example/refresh V=s 如kernel的补丁refresh: make target/linux/refresh V=s 阅读全文
posted @ 2019-04-23 18:26 Jello 阅读(291) 评论(0) 推荐(0)
摘要: 答: 注意: linux内核版本为4.14.108 一.修改对应内核源码中的Makefile (到openwrt生成的build_dir中找) 将KBUILD_CFLAGS变量中的-O2改成-O1,让编译只进行简单的优化 二.使能内核的编译选项CONFIG_DEBUG_SECTION_MISMATC 阅读全文
posted @ 2019-04-23 14:50 Jello 阅读(2426) 评论(1) 推荐(0)
摘要: 1. 获取源码 wget https://mirrors.ustc.edu.cn/gnu/gcc/gcc-8.3.0/gcc-8.3.0.tar.xz -P ~ tar xvf gcc-8.3.0.tar.xz -C ~ cd ~/gcc-8.3.0 2. 运行 download_prerequis 阅读全文
posted @ 2019-04-19 17:06 Jello 阅读(6067) 评论(0) 推荐(1)
摘要: 答: find . -name '*.txt' -delete 这条命令含义如下: 从当前目录开始查找以txt为后缀名的文件并删除掉 阅读全文
posted @ 2019-04-17 20:06 Jello 阅读(8312) 评论(0) 推荐(0)
摘要: 答: sed -i 's/$/yes/' jello.txt 这句话的意思就是在jello.txt文件的所有行尾都添加相同的内容yes,如jello.txt原来的内容为: 那么经过这个命令处理之后就变成了 阅读全文
posted @ 2019-04-17 18:30 Jello 阅读(5412) 评论(0) 推荐(0)
摘要: 1. 获取源码 git clone https://github.com/vim/vim.git ~/vim cd ~/vim 2. 配置 ./configure --prefix=/home/jello/vim --with-tlib=tinfo --enable-pythoninterp=yes 阅读全文
posted @ 2019-04-17 18:09 Jello 阅读(1406) 评论(0) 推荐(0)
摘要: 答: service tftpd-hpa restart 阅读全文
posted @ 2019-04-16 10:48 Jello 阅读(2276) 评论(0) 推荐(0)
摘要: 答:修改/etc/default/tftpd-hpa中的TFTP_DIRECTORY即可,默认TFTP_DIRECTORY="/var/lib/tftpboot" 阅读全文
posted @ 2019-04-16 10:46 Jello 阅读(1434) 评论(0) 推荐(0)
摘要: 答: 使用git reset HEAD <file name>即可撤销,也就是将暂存的数据删掉 阅读全文
posted @ 2019-04-15 14:02 Jello 阅读(4114) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 77 下一页