参考rpi-buildroot通过软链接方式添加外部buildroot包

https://github.com/cellux/rpi-buildroot.git



# create symlinks for board-specific scripts and add-on packages

for p in board/rpi package/rpi; do

 ln -s $(readlink -f ../rpi-buildroot/$p) $p

done


# override packages which have been customized

for p in luajit; do

 rm -rf package/$p

 ln -s $(readlink -f ../rpi-buildroot/package/$p) package/$p

done


=================

post-build.sh 中 ${1} 为rootfs target目录

可引用Makefile中的变量,如${BASE_DIR}即为 Makefile中的$(BASE_DIR)

本文出自 “枪炮与玫瑰的BLOG” 博客,请务必保留此出处http://axlrose.blog.51cto.com/434566/1355370

参考rpi-buildroot通过软链接方式添加外部buildroot包

上一篇:Multicast1


下一篇:Nginx平滑升级5部曲(便于记忆)