浏览代码

MIPS: tools: Build relocs tool

Build the relocs tool as part of the kbuild

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: kernel-hardening@lists.openwall.com
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12980/
Patchwork: https://patchwork.linux-mips.org/patch/13242/
Patchwork: https://patchwork.linux-mips.org/patch/13233/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Matt Redfearn 9 年之前
父节点
当前提交
aadeec4df9
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 4 0
      arch/mips/Makefile
  2. 1 0
      arch/mips/boot/tools/.gitignore

+ 4 - 0
arch/mips/Makefile

@@ -12,6 +12,9 @@
 # for "archclean" cleaning up for this architecture.
 # for "archclean" cleaning up for this architecture.
 #
 #
 
 
+archscripts: scripts_basic
+	$(Q)$(MAKE) $(build)=arch/mips/boot/tools relocs
+
 KBUILD_DEFCONFIG := ip22_defconfig
 KBUILD_DEFCONFIG := ip22_defconfig
 
 
 #
 #
@@ -385,6 +388,7 @@ endif
 archclean:
 archclean:
 	$(Q)$(MAKE) $(clean)=arch/mips/boot
 	$(Q)$(MAKE) $(clean)=arch/mips/boot
 	$(Q)$(MAKE) $(clean)=arch/mips/boot/compressed
 	$(Q)$(MAKE) $(clean)=arch/mips/boot/compressed
+	$(Q)$(MAKE) $(clean)=arch/mips/boot/tools
 	$(Q)$(MAKE) $(clean)=arch/mips/lasat
 	$(Q)$(MAKE) $(clean)=arch/mips/lasat
 
 
 define archhelp
 define archhelp

+ 1 - 0
arch/mips/boot/tools/.gitignore

@@ -0,0 +1 @@
+relocs