|
@@ -153,6 +153,14 @@ endef
|
|
|
UBOOT_POST_EXTRACT_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE
|
|
|
UBOOT_POST_RSYNC_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE
|
|
|
|
|
|
+ifneq ($(ARCH_XTENSA_OVERLAY_FILE),)
|
|
|
+define UBOOT_XTENSA_OVERLAY_EXTRACT
|
|
|
+ $(call arch-xtensa-overlay-extract,$(@D),u-boot)
|
|
|
+endef
|
|
|
+UBOOT_POST_EXTRACT_HOOKS += UBOOT_XTENSA_OVERLAY_EXTRACT
|
|
|
+UBOOT_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL)
|
|
|
+endif
|
|
|
+
|
|
|
# Analogous code exists in linux/linux.mk. Basically, the generic
|
|
|
# package infrastructure handles downloading and applying remote
|
|
|
# patches. Local patches are handled depending on whether they are
|