aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-07-28 16:24:28 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2022-07-28 16:25:56 +1000
commit90b9d9de42caa136436652f63407a50c9641c00f (patch)
treed4a093adacf3c8254ae53b48fe6cfea58a18fef0
parent0ee1d479b23a35dbcf9a756b5c9437ac6cf12dcf (diff)
downloaddtc-90b9d9de42caa136436652f63407a50c9641c00f.tar.gz
Split out information for contributors to CONTRIBUTING.md
README.md covers both general information for people using and building the software, and more specific information for people contributing to either dtc or libfdt. Split out the latter information into its own file for easier reference. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--CONTRIBUTING.md25
-rw-r--r--README.md19
2 files changed, 25 insertions, 19 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..51f7a82
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,25 @@
+# Contributing to dtc or libfdt
+
+There are two ways to submit changes for dtc or libfdt:
+
+* Post patches directly to the the
+ [devicetree-compiler](mailto:devicetree-compiler@vger.kernel.org)
+ mailing list.
+* Submit pull requests via
+ [Github](https://github.com/dgibson/dtc/pulls)
+
+## Adding a new function to libfdt.h
+
+The shared library uses `libfdt/version.lds` to list the exported
+functions, so add your new function there. Check that your function
+works with pylibfdt. If it cannot be supported, put the declaration in
+`libfdt.h` behind `#ifndef SWIG` so that swig ignores it.
+
+## Tests
+
+Test files are kept in the `tests/` directory. Use `make check` to build and run
+all tests.
+
+If you want to adjust a test file, be aware that `tree_tree1.dts` is compiled
+and checked against a binary tree from assembler macros in `trees.S`. So
+if you change that file you must change `tree.S` also.
diff --git a/README.md b/README.md
index 36a3912..8f1a5d2 100644
--- a/README.md
+++ b/README.md
@@ -91,25 +91,6 @@ $ make NO_PYTHON=1
More work remains to support all of libfdt, including access to numeric
values.
-
-## Adding a new function to libfdt.h
-
-The shared library uses `libfdt/version.lds` to list the exported
-functions, so add your new function there. Check that your function
-works with pylibfdt. If it cannot be supported, put the declaration in
-`libfdt.h` behind `#ifndef SWIG` so that swig ignores it.
-
-
-## Tests
-
-Test files are kept in the `tests/` directory. Use `make check` to build and run
-all tests.
-
-If you want to adjust a test file, be aware that `tree_tree1.dts` is compiled
-and checked against a binary tree from assembler macros in `trees.S`. So
-if you change that file you must change `tree.S` also.
-
-
## Mailing lists
* The [devicetree-compiler](mailto:devicetree-compiler@vger.kernel.org)