Project

General

Profile

Actions

Feature #543

closed

Add hw type to /etc/pibox_version

Added by Hammel over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
00 - Basic Build Issues
Target version:
Start date:
28 Aug 2016
Due date:
% Done:

100%

Estimated time:
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.

Actions #1

Updated by Hammel over 7 years 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.

Actions

Also available in: Atom PDF