arch: allow GCC target options to be optionally overwritten
authorMark Corbin <mark.corbin@embecosm.com>
Wed, 12 Sep 2018 10:22:53 +0000 (11:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 23 Sep 2018 20:17:57 +0000 (22:17 +0200)
commitbd0640a2139119e2fdb4b384ebf32d1edcb0fdaa
treefa749570d2cab3be1ac74bcc9b35a534846a6821
parent1eca624c03e5e1f815e0e62cbfc3b99f3cd628b3
arch: allow GCC target options to be optionally overwritten

The BR2_GCC_TARGET_* configuration variables are copied to
corresponding GCC_TARGET_* variables which may then be optionally
modified or overwritten by architecture specific makefiles.

All makefiles must use the new GCC_TARGET_* variables instead
of the BR2_GCC_TARGET_* versions.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas: simplify include of arch/arch.mk]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
12 files changed:
Makefile
arch/arch.mk [new file with mode: 0644]
package/ffmpeg/ffmpeg.mk
package/freerdp/freerdp.mk
package/gcc/gcc.mk
package/kodi/kodi.mk
package/kvm-unit-tests/kvm-unit-tests.mk
package/meson/meson.mk
package/nodejs/nodejs.mk
package/tvheadend/tvheadend.mk
package/valgrind/valgrind.mk
toolchain/toolchain-external/pkg-toolchain-external.mk