Make upstream tree CrOS SDK friendly

- Remove submodules, since CrOS glues repos together using portage
- Add COMMIT-QUEUE.ini, PRESUBMIT.cfg, .checkpatch.conf from 2016.02

Change-Id: I06b428191699034bf20b086ce88b7b27c3deb41b
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/327003
Reviewed-by: Stefan Reinauer <reinauer@google.com>
This commit is contained in:
Patrick Georgi 2016-02-09 13:50:11 +01:00 committed by Martin Roth
parent c3ee3f6d7e
commit 5e68ada809
9 changed files with 39 additions and 22 deletions

15
.checkpatch.conf Normal file
View file

@ -0,0 +1,15 @@
# Not Linux, so don't expect a Linux tree.
--no-tree
# Require every Kconfig symbol to have at least two lines in their description.
--min-conf-desc-length=2
# Ignore aspects we don't follow here.
--ignore C99_COMMENTS
--ignore GLOBAL_INITIALISERS
--ignore INITIALISED_STATIC
--ignore NEW_TYPEDEFS
--ignore PREFER_ALIGNED
--ignore PREFER_PACKED
--ignore PREFER_PRINTF
--ignore SPLIT_STRING

17
.gitmodules vendored
View file

@ -1,17 +0,0 @@
[submodule "3rdparty/blobs"]
path = 3rdparty/blobs
url = ../blobs.git
update = none
ignore = dirty
[submodule "util/nvidia-cbootimage"]
path = util/nvidia/cbootimage
url = ../nvidia-cbootimage.git
[submodule "vboot"]
path = 3rdparty/vboot
url = ../vboot.git
[submodule "arm-trusted-firmware"]
path = 3rdparty/arm-trusted-firmware
url = ../arm-trusted-firmware.git
[submodule "3rdparty/chromeec"]
path = 3rdparty/chromeec
url = ../chrome-ec.git

@ -1 +0,0 @@
Subproject commit 32d4f826875a49fe1c4632aa71d1c04372b386aa

1
3rdparty/blobs vendored

@ -1 +0,0 @@
Subproject commit cca0337ea0fba8a07a73ad1627338dd5738f4d3f

1
3rdparty/chromeec vendored

@ -1 +0,0 @@
Subproject commit 388a7fa8cff831dcb5f25a3ea4bd67de898d865a

1
3rdparty/vboot vendored

@ -1 +0,0 @@
Subproject commit d187cd3fc792f8bcefbee4587c83eafbd08441fc

12
COMMIT-QUEUE.ini Normal file
View file

@ -0,0 +1,12 @@
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Per-project Commit Queue settings.
# Documentation: http://goo.gl/4rZhAx
[GENERAL]
# Stages to ignore in the commit queue. If these steps break, your CL will be
# submitted anyway. Use with caution.
ignored-stages: HWTest VMTest

12
PRESUBMIT.cfg Normal file
View file

@ -0,0 +1,12 @@
# This config file disables some of the ChromiumOS source style checks for
# coreboot as they are directly conflicting with the coreboot coding
# guidelines.
[Hook Overrides]
branch_check: true
checkpatch_check: true
signoff_check: true
#stray_whitespace_check: false
#long_line_check: false
cros_license_check: false
tab_check: false

@ -1 +0,0 @@
Subproject commit efe19b2eb9db7bb3ba913f0af7d5ececb173fe82