aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/scripts/basic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/scripts/basic/Makefile')
-rw-r--r--roms/u-boot/scripts/basic/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/roms/u-boot/scripts/basic/Makefile b/roms/u-boot/scripts/basic/Makefile
new file mode 100644
index 00000000..4fcef87b
--- /dev/null
+++ b/roms/u-boot/scripts/basic/Makefile
@@ -0,0 +1,15 @@
+###
+# Makefile.basic lists the most basic programs used during the build process.
+# The programs listed herein are what are needed to do the basic stuff,
+# such as fix file dependencies.
+# This initial step is needed to avoid files to be recompiled
+# when kernel configuration changes (which is what happens when
+# .config is included by main Makefile.
+# ---------------------------------------------------------------------------
+# fixdep: Used to generate dependency information during build process
+
+hostprogs-y := fixdep
+always := $(hostprogs-y)
+
+# fixdep is needed to compile other host programs
+$(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep
ref='#n91'>91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174