summaryrefslogtreecommitdiff
path: root/boot/uboot
diff options
context:
space:
mode:
authorErico Nunes <nunes.erico@gmail.com>2015-12-29 00:27:30 -0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-29 12:24:19 +0100
commita6a40578fc108136d7a23feb7f90f8609962d53c (patch)
treebc9d4fccb3a860fb4013f4ec39d28761778f1f93 /boot/uboot
parentcabb083814999cae69b7eb17202e3238e169aab1 (diff)
uboot: add COPY_OLD_LICENSE_FILE fix to rsync hook
make legal-info breaks when using an older u-boot version in local.mk with OVERRIDE_SRCDIR, due to the reorganization of license files which happened in u-boot v2013.10. This issue had already been fixed in Buildroot for the regular use of old u-boot versions (non-local.mk). This patch adds the same fix to UBOOT_POST_RSYNC_HOOKS so that it also covers the local.mk case. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/uboot')
-rw-r--r--boot/uboot/uboot.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 868bf0862..c8c50f007 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -110,6 +110,7 @@ define UBOOT_COPY_OLD_LICENSE_FILE
endef
UBOOT_POST_EXTRACT_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE
+UBOOT_POST_RSYNC_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE
# Prior to Buildroot 2015.05, only patch directories were supported. New
# configurations use BR2_TARGET_UBOOT_PATCH instead.