summaryrefslogtreecommitdiff
path: root/scripts/basic/Makefile
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-02-23 17:07:08 +0300
committerLaxman Dewangan <ldewangan@nvidia.com>2016-02-23 17:07:08 +0300
commite5451c8f8330e03ad3cfa16048b4daf961af434f (patch)
treedeefeea7e4ab036a05ccbf4c35b98536720565e5 /scripts/basic/Makefile
parenta101ad945113be3d7f283a181810d76897f0a0d6 (diff)
parent3cf42efc3479806bc5db5176fd440d23bb73854b (diff)
downloadlinux-e5451c8f8330e03ad3cfa16048b4daf961af434f.tar.xz
Merge remote-tracking branch 'linusw-gpio/for-next' into devm_gpiochip
Base for demv_gpiochip_add_data() and devm_gpiochip_remove().
Diffstat (limited to 'scripts/basic/Makefile')
-rw-r--r--scripts/basic/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/basic/Makefile b/scripts/basic/Makefile
new file mode 100644
index 000000000000..ec10d9345bc2
--- /dev/null
+++ b/scripts/basic/Makefile
@@ -0,0 +1,16 @@
+###
+# 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
+hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
+always := $(hostprogs-y)
+
+# fixdep is needed to compile other host programs
+$(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep