From: Ulf Samuelsson Date: Fri, 23 Jan 2009 00:54:23 +0000 (-0000) Subject: Do not reapply linux patches if LINUX26_PATCH_SOURCE is empty, and we are continuing... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=501c0071588c922f3f7e4c4042bb0c978e3fe3f6;p=buildroot.git Do not reapply linux patches if LINUX26_PATCH_SOURCE is empty, and we are continuing building after a failure --- diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced index b29a207c52..9a7f0fdf02 100644 --- a/target/linux/Makefile.in.advanced +++ b/target/linux/Makefile.in.advanced @@ -71,7 +71,11 @@ LINUX26_PATCH_SITE:=$(strip $(subst ",,$(BR2_KERNEL_PATCH_SITE))) LINUX26_BSP_PATCH:=$(strip $(subst ",,$(BR2_LINUX_BSP_PATCH))) #")) -LINUX_HEADERS_DEPENDS:= $(DL_DIR)/$(LINUX26_PATCH_SOURCE) $(LINUX26_BSP_PATCH) +LINUX_HEADERS_DEPENDS:= $(LINUX26_BSP_PATCH) + +ifneq ($(LINUX26_PATCH_SOURCE),) +LINUX_HEADERS_DEPENDS+=$(DL_DIR)/$(LINUX26_PATCH_SOURCE) +endif # ------------------------------------ # kernel patches provided by buildroot