29 Commits

Author SHA1 Message Date
Matthias Reichl
7c258fe258 Revert "config/arch.arm: build with -D_TIME_BITS=64 to support 64-bit time on legacy ABIs"
This reverts commit 894a4a66da764b8b6c8c910a09f9d96d2a9dd69b.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-04 23:44:26 +01:00
Ian Leonard
e6cade60d9 buildsystem: remove march and mcpu from LDFLAGS
march and mcpu were added in ~2011. I don't know why. I have seen CFLAGS added
en masse to LDFLAGS when using LTO, but that does not explain these inclusions.

Remove to cleanup LDFLAGS.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-09-14 22:36:16 +00:00
Rudi Heitbaum
894a4a66da config/arch.arm: build with -D_TIME_BITS=64 to support 64-bit time on legacy ABIs 2022-07-22 07:25:46 +00:00
Ian Leonard
79d1e14510 buildsystem: rename GCC_OPTS to TARGET_ARCH_GCC_OPTS
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-12-25 21:28:35 +00:00
Ian Leonard
0f0506af5d buildsystem: move TARGET_KERNEL_PATCH_ARCH to config/arch.ARCH
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-21 00:13:21 +00:00
Ian Leonard
6ed29b1e4b config: set architecture TARGET_FEATURES in config/arch.ARCH
Should PROJECT or DEVICE options set TARGET_FEATURES, tack them on
instead of overwriting them.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-20 19:39:44 +00:00
MilhouseVH
e545d5b081 config/arm: use eabihf for hard float 2019-11-27 16:53:41 +00:00
kszaq
07e83b2bca config: don't use mcpu switch for arm and aarch64
When compiling glibc for cortex-a9, the following errors appears:
cc1: error: switch -mcpu=cortex-a9 conflicts with -march=armv7-a switch [-Werror]

Using mcpu with march and mtune is not recommended and compiler emits
warnings/errors when mismatched.
2019-05-16 01:19:34 +02:00
Sascha Kuehndel (InuSasha)
58d7972dad
buildsystem: add -mtune to CFLAGS, to be in sync with LDFLAGS. Else segfault is triggered in lto build 2018-06-04 20:07:06 +02:00
MilhouseVH
4d0336e729 buildsystem: simd support (neon/mmx/sse/sse2) is a feature of CPU not project 2018-03-12 22:16:38 +00:00
Jonas Karlman
dff565f4e0 config/arch.arm: add cortex-a72.cortex-a53 2018-03-04 20:26:55 +01:00
Jonas Karlman
20f2322755 config/arch.arm: add cortex-a17 2018-03-04 20:26:54 +01:00
Radostan Riedel
de9d1af69f AArch64 projects: add 32-bit userspace support 2017-10-12 10:07:43 +02:00
zalaare
4e73d4c625 add big.LITTLE support for arm architectures 2016-04-06 10:19:45 -04:00
Lukas Rusak
ae9e7cab5f buildsys: define TARGET_KERNEL_ARCH early 2016-02-29 21:25:37 +01:00
Jonas Karlman
82d79093af GCC 4.9 has support for armv7ve 2015-02-10 08:06:54 +01:00
Stephan Raue
acf0859c6e config/arch.arm: add initial support for cortex-a5|7|15
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-11-22 01:25:33 +01:00
Stephan Raue
9c8e7bc6b0 config/arch.*: add variable to specify SIMD support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-07-28 03:11:02 +02:00
Stephan Raue
d0849a628a config/arch.arm: dont use -fPIC in LDFLAGS
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-05-27 02:39:31 +02:00
Stephan Raue
5c39e3fc0d config/arch.arm: add support to specity $TARGET_FLOAT, add 'hardfp' support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-04-22 17:26:00 +02:00
Stephan Raue
4c191874e4 config/arch.arm: set some cortex-a9 defaults
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-04-22 17:23:43 +02:00
Stephan Raue
071bc1e889 config/arch.arm: update cpu flags
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-04-22 17:21:54 +02:00
Stephan Raue
3ddf6f4109 config/arch.arm: add some more cpu flags
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-04-22 17:19:57 +02:00
Stephan Raue
172d160ee5 config/arch.arm: config/arch.arm: setup defaults for 'arm1176jzf-s' target
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-04-22 17:19:54 +02:00
Stephan Raue
14ab6a420f config/arch.*: dont set -fPIC globally
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-12-04 16:09:17 +01:00
Stephan Raue
8cc4591456 Revert "config/arch.* fix $LDFLAGS"
This reverts commit 68b97102b83a23ec5e4d1465e5fcdef48c317d24.
2011-09-09 22:12:34 +02:00
Stephan Raue
68b97102b8 config/arch.* fix $LDFLAGS
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-09-09 20:49:35 +02:00
Stephan Raue
98853a9daa config/path: move ARCH specific options to ARCH specific config files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 21:39:29 +01:00
Stephan Raue
d854ac4369 config/arch: split in to seperate ARCH configurations
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-21 01:30:30 +01:00