summaryrefslogtreecommitdiff
path: root/arch/mips/boot/compressed/bswapdi.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-11-05 05:38:14 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-11-10 21:45:06 +0300
commitf78b25ee922ef6faf59a258af1b9388ca894cfd9 (patch)
tree8470e59f28c3d185ceec50e452694cdde8fa24ae /arch/mips/boot/compressed/bswapdi.c
parente2f4b3be1d3c73176db734565b160250cc1300dd (diff)
downloadlinux-f78b25ee922ef6faf59a258af1b9388ca894cfd9.tar.xz
mips: decompressor: do not copy source files while building
As commit 7ae4a78daacf ("ARM: 8969/1: decompressor: simplify libfdt builds") stated, copying source files during the build time may not end up with as clean code as expected. Do similar for mips to clean up the Makefile and .gitignore. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Tested-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/boot/compressed/bswapdi.c')
-rw-r--r--arch/mips/boot/compressed/bswapdi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/boot/compressed/bswapdi.c b/arch/mips/boot/compressed/bswapdi.c
new file mode 100644
index 000000000000..acb28aebb025
--- /dev/null
+++ b/arch/mips/boot/compressed/bswapdi.c
@@ -0,0 +1,2 @@
+// SPDX-License-Identifier: GPL-2.0-only
+#include "../../lib/bswapdi.c"