diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-17 11:57:36 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-06-17 10:29:42 +0200 |
commit | 775518a3d715126b7827719da5201d9a80ae67f6 (patch) | |
tree | f1bfc0a6900084e7044299481cea7c73a8d78c8f /arch/arm/Makefile | |
parent | 04aa7be82a2df5bec926d6e426e36accd44808a2 (diff) | |
download | barebox-775518a3d715126b7827719da5201d9a80ae67f6.tar.gz barebox-775518a3d715126b7827719da5201d9a80ae67f6.tar.xz |
kbuild: remove AS variable
The assembler files in the barebox are *.S instead of *.s, so they must
be preprocessed. Since 'as' of GNU binutils is not able to preprocess,
we always use $(CC) as an assembler driver.
Remove AS variable.
Linux also removed AS. See Linux commits:
aa824e0c962b ("kbuild: remove AS variable")
1ca0c2f61211 ("kbuild: remove unused AS assignment")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 6c7373c206..46dfe1f62a 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -10,11 +10,9 @@ endif ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) KBUILD_CPPFLAGS += -mbig-endian -AS += -EB LD += -EB else KBUILD_CPPFLAGS += -mlittle-endian -AS += -EL LD += -EL endif |