aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/mips/Makefile.postlink
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/mips/Makefile.postlink')
-rw-r--r--roms/u-boot/arch/mips/Makefile.postlink21
1 files changed, 21 insertions, 0 deletions
diff --git a/roms/u-boot/arch/mips/Makefile.postlink b/roms/u-boot/arch/mips/Makefile.postlink
new file mode 100644
index 000000000..9ad7d4e45
--- /dev/null
+++ b/roms/u-boot/arch/mips/Makefile.postlink
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (c) 2017 Imagination Technologies Ltd.
+
+PHONY := __archpost
+__archpost:
+
+-include include/config/auto.conf
+include scripts/Kbuild.include
+
+CMD_RELOCS = tools/mips-relocs
+quiet_cmd_relocs = RELOCS $@
+ cmd_relocs = $(CMD_RELOCS) $@
+
+u-boot: FORCE
+ @true
+ $(call if_changed,relocs)
+
+.PHONY: FORCE
+
+FORCE: