summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorThomas De Schampheleire <thomas.de.schampheleire@gmail.com>2016-01-06 14:33:18 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-01-18 10:10:50 +0100
commitcd81c9817137d9de10347502b2d5d53127081c2f (patch)
tree3c3b596dd7c03d6d35374d478ec13a2d3fd1accc /boot
parent7528a2735c310e720fbd89b6142cb128bd32ade4 (diff)
uboot: remove unused helper function insert_define
Commit 16b8e813c810fde2fe3655c696edf1e76a7d27ba removed all remaining users of helper function insert_define. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/uboot/uboot.mk12
1 files changed, 0 insertions, 12 deletions
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index c8c50f007..d539b3123 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -89,18 +89,6 @@ ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y)
UBOOT_DEPENDENCIES += host-dtc
endif
-# Helper function to fill the U-Boot config.h file.
-# Argument 1: option name
-# Argument 2: option value
-# If the option value is empty, this function does nothing.
-define insert_define
-$(if $(call qstrip,$(2)),
- @echo "#ifdef $(strip $(1))" >> $(@D)/include/config.h
- @echo "#undef $(strip $(1))" >> $(@D)/include/config.h
- @echo "#endif" >> $(@D)/include/config.h
- @echo '#define $(strip $(1)) $(call qstrip,$(2))' >> $(@D)/include/config.h)
-endef
-
# prior to u-boot 2013.10 the license info was in COPYING. Copy it so
# legal-info finds it
define UBOOT_COPY_OLD_LICENSE_FILE