Commit Graph

15 Commits

Author SHA1 Message Date
Martin Roth
c66d36761f Makefile.rules: Add targets to see file size differences
Since the ec binaries are so tight on space, it would be nice to be
able to see just how much changes are affecting the size.  This allows
users to easily do before/after comparisons.

Sample output:
build/sweetberry/RW/ec.RW.flat shrank by 44 bytes: (43828 to 43784)
build/twinkie/RO/ec.RO.flat shrank by 64 bytes: (46312 to 46248)
build/twinkie/RW/ec.RW.flat shrank by 40 bytes: (45900 to 45860)
build/wheatley/RW/ec.RW.flat shrank by 40 bytes: (102692 to 102652)
Compared 156 of 156 files.
81 files changed.
Total size change: -3100 bytes.
Average size change: -38 bytes.

BRANCH=none
BUG=none
TEST=make clobber buildall -j; make savesizes
[change some code that changes file sizes]
make clobber buildall -j ; make newsizes
[Shows size differences]

Change-Id: I48b440063eb6eb6c00900af3d0dfa075be6f9ec7
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/410860
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
2016-11-15 17:43:21 -08:00
Bill Richardson
8a2423c054 Tell git to ignore all private subdirectories
Internal builds may have private*/ subdirectories cloned from
repositories that we're not (yet) allowed to share
publicly (boo). Tell git not to complain about them every time I
run "git status".

BUG=none
BRANCH=none
TEST=manual

  mkdir private-foo
  touch private-foo/bar.txt
  git status

Observe the lack of complaints about private-foo

Change-Id: I5281e3a533f9b1a548ced6f6716a388152c58776
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/341032
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
2016-04-27 23:58:06 -07:00
Vadim Bendebury
2fb8d2772c make: allow to see boards failed when making 'buildall'
It is quite annoying to see an error reported by buildall, but not
knowing what board(s) actually failed to build.

Create file for each board being built, put build progress information
in it, and remove it if the board build succeeded. Then, once the
build is completed see the failed boards in .failedboards/, if any,
and the states they failed at.

BRANCH=none
BUG=none
TEST=verified that the directory is empty after a successful buildall
     run, and has files named after failed boards in case of build
     failures.

Change-Id: I67eb1671cadf58d9f8feccebfcc860524f33c2a0
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/338883
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
2016-04-14 17:28:25 -07:00
Bill Richardson
18ea8f4ec3 Update .gitignore for new private repo
A new private repo has been added, so prevent git from
complaining about it.

BUG=chromium:507445
BRANCH=none
TEST=make build all; git status

Nothing breaks, "git status" stops pointing out the new
subdirectory.

Change-Id: Ibf1fbc7504fb6bbb9df7d6ddf0efda9a632e39b6
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/284874
Reviewed-by: Alec Berg <alecaberg@chromium.org>
2015-07-10 23:12:36 +00:00
Bill Richardson
72c24dec17 Add TAGS and cscope.* to .gitignore
These are generated files used for code cross-reference in Emacs. Let's
ignore them so repo upload doesn't keep complaining.

BUG=none
BRANCH=ToT
TEST=manual

Leave these files in place, try "repo upload .", see that it stops
complaining about uncommitted files.

Change-Id: I9c0a7182050c0b50bd36e4b10091f9b2912f6596
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/192285
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2014-03-31 22:45:09 +00:00
Vic (Chun-Ju) Yang
798df2a6d0 Add presubmit check for unit test
This enforces that "make buildall" runs at least once after the last
file change.

TEST=Try to upload without running "make buildall"
TEST=Change a file without re-running "make buildall", and try to
upload.
BUG=None
BRANCH=None

Change-Id: Ia4abb3c0e17cf4d559975574f398d74c7986c89f
Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/185116
Reviewed-by: Dave Parker <dparker@chromium.org>
2014-02-06 19:27:18 +00:00
Vic Yang
76b3ba079e Add cscope.out to .gitignore
With this, git doesn't complain about uncommited change if one uses
cscope.

BUG=none
TEST='git status' and see no uncommited change.
BRANCH=none

Change-Id: I30bb78e4d0a7541444ef1aced683335933a5aa73
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49457
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2013-04-29 23:31:28 -07:00
Vic Yang
57d9c35198 Mask 'tags' in .gitignore
If ctags is used, git complains about uncommitted 'tags'. Let's add it
to .gitignore.

BUG=None
TEST='git status' and doesn't see git complain about 'tags'.
BRANCH=none

Change-Id: I6026e83b1537eb61439f22a0b09dccb07283c820
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/42689
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2013-02-05 20:58:44 -08:00
Simon Glass
024520b1ff Remove some extensions from .gitignore
Since build output is in build/ we don't really need to have *.bin (and
others) excluded throughout the source tree. This change allows us to
check in .bin files without warnings.

BUG=none
BRANCH=snow,link
TEST=manual
$ git status
- see that we still have no stray files reported

$ git add test/test-matrix.bin
- see that there is no warning given now

Change-Id: Ia71c5c2b89c3f0eef5098c86c701cb34f666e164
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/34632
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2012-10-04 12:22:20 -07:00
Dave Parker
0b99daff0b ec: Add "private/" to .gitignore.
Signed-off-by: Dave Parker <dparker@chromium.org>
BUG=None
TEST=Verify files under a "private" subdirectory are ignored by git.

Change-Id: I551effa5cf8967b787e40f1cc82f9c3f91d9fa09
2012-02-14 11:46:16 -08:00
Dave Parker
7c01418f9c Merge development work from private blizzard.git repo.
BUG=chrome-os-partner:7564
TEST=None

Conflicts:
	.gitignore
2012-02-09 13:39:00 -08:00
Vincent Palatin
e24fa592d2 Initial sources import 3/3
source files mainly done by Vincent.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

Change-Id: Ic2d1becd400c9b4b4a14d4a243af1bdf77d9c1e2
2011-12-07 19:10:02 +00:00
Louis Yung-Chieh Lo
79a661d00c Link keyboard-related code together.
Added i8042 interface and matrix code. Demonstrate a key is pressed and passed
to host through the board-dependent matrix code.

BUG=None
TEST=make && make runtests

Change-Id: I6a9f5e621d9e93e5c16384afebf4d665000e81a6
2011-10-28 01:15:18 +08:00
Randall Spangler
ee3d25fa92 Add top-level makefile
Build output is now in ./build

Fixed compiler warnings in ec_uartd, ec_console

BUG=none
TEST=make

Change-Id: I9a46ab6b9d4e912e59a60c669e95dc0c6f8485df
2011-10-24 12:39:09 -07:00
Dave Parker
dd449d1b72 Mask out board and vendor sub-projects with .gitignore
BUG=None
TEST=git status

Change-Id: I94d3929994b02dd90e41b4d87cc236d7611e27eb
2011-10-21 13:55:28 -07:00