Re: [OpenWrt-Devel] [PATCH 4/4] package: fix "LTO" option resulted in building error

2019-06-12 Thread Nylon Chen
On Tue, Jun 11, 2019 at 11:21:45PM +0800, Felix Fietkau wrote: > On 2019-06-11 12:32, Nylon Chen wrote: > > When a building package has -flto option leads to building error > > > > We must use the gcc-ar wrapper instead of ar to invoke ar with the right > > plugin arg

[OpenWrt-Devel] [PATCH 4/4] package: fix "LTO" option resulted in building error

2019-06-11 Thread Nylon Chen
When a building package has -flto option leads to building error We must use the gcc-ar wrapper instead of ar to invoke ar with the right plugin arguments for handling the LTO objects when -flto is specified. Signed-off-by: Che-Wei Chuang Signed-off-by: Nylon Chen --- rules.mk | 12

[OpenWrt-Devel] [PATCH 3/4] ext-toolchain.sh: don't pass CFLAGS to gcc-* utilities

2019-06-11 Thread Nylon Chen
The current script passes CFLAGS parameters to gcc-* utilities, but they can not identify CFLAGS parameters, so following this script will fail package build Signed-off-by: Che-Wei Chuang Signed-off-by: Nylon Chen --- scripts/ext-toolchain.sh | 9 + 1 file changed, 9 insertions

[OpenWrt-Devel] [PATCH 2/4] nds32: add new target for AE3XX boards

2019-06-11 Thread Nylon Chen
The AE3XX prototype demonstrates the AE3XX example platform on the FPGA. It is composed of one Andestech(nds32) processor and AE3XX. Signed-off-by: Che-Wei Chuang Signed-off-by: Nylon Chen --- target/linux/nds32/Makefile | 23 target/linux/nds32/config-4.19

[OpenWrt-Devel] [PATCH 0/2] Add nds32 toolchain and ae3xx board support

2019-06-11 Thread Nylon Chen
This patchset adds basic support for Andes's nds32 ISA and nds32 family's CPU IP based on ae3xx platform. The board is entirely supported since Linux 4.19. Nylon Chen (2): toolchain: add support of nds32 architecture nds32: add new target for AE3XX boards include

[OpenWrt-Devel] [PATCH 1/4] toolchain: add support of nds32 architecture

2019-06-11 Thread Nylon Chen
This commit provides basic support for the Andes 32-bit (nds32) architecture. Signed-off-by: Che-Wei Chuang Signed-off-by: Nylon Chen --- include/kernel.mk | 2 ++ include/site/nds32 | 33 + include/target.mk | 4 target/Config.in| 5