File tree Expand file tree Collapse file tree 3 files changed +1802
-3
lines changed Expand file tree Collapse file tree 3 files changed +1802
-3
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,22 @@ How to do a release
4747How to generate the bitmanip patches
4848------------------------------------
4949
50- 1 . Generate the binutils patch.
50+ 1 . Generate the binutils patch:
5151
5252 ```
5353 git clone https://github.com/riscv/riscv-binutils-gdb.git
5454 cd riscv-binutils-gdb
5555 git checkout riscv-bitmanip
56- git diff 612aac65 > 001-bitmanip.patch # 612aac65 is our upstream baseline
56+ # 612aac65 is our upstream baseline
57+ git diff 612aac65 > $TOP/patches/binutils/git-612aac65/001-bitmanip.patch
5758 ```
5859
59- 2 . Generate the GCC patch: TODO.
60+ 2 . Generate the GCC patch:
61+
62+ ```
63+ git clone https://github.com/riscv/riscv-gcc.git
64+ cd riscv-gcc
65+ git checkout riscv-bitmanip
66+ # 49f75e008c0 is our upstream baseline
67+ git diff 49f75e008c0 > $TOP/patches/gcc/git-49f75e00/001-bitmanip.patch
68+ ```
Original file line number Diff line number Diff line change @@ -34,5 +34,11 @@ CT_BINUTILS_DEVEL_VCS_git=y
3434CT_BINUTILS_DEVEL_URL="https://github.com/bminor/binutils-gdb.git"
3535CT_BINUTILS_DEVEL_REVISION="612aac65e690387c963c34a31dd1fb138d88a45c"
3636
37+ # We apply the gcc bitmanip patches on top of git commit 49f75e008c0
38+ CT_GCC_SRC_DEVEL=y
39+ CT_GCC_DEVEL_VCS_git=y
40+ CT_GCC_DEVEL_URL="https://github.com/riscv/riscv-gcc.git"
41+ CT_GCC_DEVEL_REVISION="49f75e008c0809eb3c74a163297b4aa8925c9f1c"
42+
3743# The build script appends a definition of CT_LOCAL_PATCH_DIR down here, that
3844# points to the repo's patch directory.
You can’t perform that action at this time.
0 commit comments