kernel: build bin2c based on config option CONFIG_BUILD_BIN2C
[cascardo/linux.git] / scripts / basic / Makefile
index 4fcef87..ec10d93 100644 (file)
@@ -9,6 +9,7 @@
 # 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