Add hw type to /etc/pibox_version
|Status:||Closed||Start date:||28 Aug 2016|
|Category:||00 - Basic Build Issues|
|Severity:||01 - Critical|
It's not easy to figure out if a tree build is for rpi or rpi2. There are two things to do here.
- Add HW=$(HW) to /etc/pibox_version in the scripts/postbuild.sh script.
- Add a make target to check what CT_ARCH_CPU is set to for xcc. The match is in src/xcc/xcc.$(HW).$(xcc-version) and the check should be in build_dir/crosstools-ng.$(version).bld/.config.
The something like
Would provide information about what the current build is for.