projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: fix kernel refresh failure on first run
[openwrt/openwrt.git]
/
include
/
quilt.mk
diff --git
a/include/quilt.mk
b/include/quilt.mk
index 03d19bf39c21edc8b4620be969da19b9b7ee66f6..7f525e2e939ee4667c182c58faba365b47aa72be 100644
(file)
--- a/
include/quilt.mk
+++ b/
include/quilt.mk
@@
-8,6
+8,11
@@
ifeq ($(TARGET_BUILD),1)
PKG_BUILD_DIR:=$(LINUX_DIR)
endif
PKG_BUILD_DIR:=$(LINUX_DIR)
endif
+ifneq ($(filter host-refresh refresh,$(MAKECMDGOALS)),)
+ override QUILT=1
+ override HOST_QUILT=1
+endif
+
ifneq ($(PKG_BUILD_DIR),)
QUILT?=$(if $(wildcard $(PKG_BUILD_DIR)/.quilt_used),y)
ifneq ($(QUILT),)
ifneq ($(PKG_BUILD_DIR),)
QUILT?=$(if $(wildcard $(PKG_BUILD_DIR)/.quilt_used),y)
ifneq ($(QUILT),)
@@
-36,11
+41,6
@@
FILES_DIR?=./files
HOST_PATCH_DIR?=$(PATCH_DIR)
HOST_FILES_DIR?=$(FILES_DIR)
HOST_PATCH_DIR?=$(PATCH_DIR)
HOST_FILES_DIR?=$(FILES_DIR)
-ifneq ($(filter host-refresh refresh,$(MAKECMDGOALS)),)
- override QUILT=1
- override HOST_QUILT=1
-endif
-
QUILT_CMD:=quilt --quiltrc=-
define filter_series
QUILT_CMD:=quilt --quiltrc=-
define filter_series