Feature #543

Add hw type to /etc/pibox_version

Added by Hammel 12 months ago. Updated 12 months ago.

Status:ClosedStart date:28 Aug 2016
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:00 - Basic Build Issues
Target version:0.11.0
Severity:01 - Critical

Description

It's not easy to figure out if a tree build is for rpi or rpi2. There are two things to do here.

  1. Add HW=$(HW) to /etc/pibox_version in the scripts/postbuild.sh script.
  2. 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

make show-build

Would provide information about what the current build is for.

Associated revisions

Revision 1fcce0c1
Added by Hammel 12 months ago

RM #543: Add HW to pibox-version file.

History

#1 Updated by Hammel 12 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Done in mjhammel/rpi2 branch. Will merge with master later.

Closing issue.

Also available in: Atom PDF