最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How does post-build.sh work in Buildroot? - Stack Overflow

programmeradmin0浏览0评论

I use Buildroot to make a Linux system for the Beaglebone Black. I configured Buildroot with the defalt configuration file. when I run "make", among other things Buildroot runs board/beagleboard/beaglebone/post-build.sh. I want to tweak this file for my needs, but I don't understand how it workes. Who calls it? What parameters it takes? Here is the script:

#!/bin/sh
BOARD_DIR="$(dirname $0)"
cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt
install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf

What are the values of BOARD_DIR and BINARIES_DIR?

I did an "echo TEST" to verfiy that script runs, and it does.

发布评论

评论列表(0)

  1. 暂无评论