mirror of https://github.com/hak5/openwrt-owl.git
parent
1063f8d415
commit
ab8c8b019f
|
@ -11,6 +11,7 @@ ifneq ($(DUMP),1)
|
||||||
all: compile
|
all: compile
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
export QUILT=1
|
||||||
STAMP_PREPARED:=$(LINUX_DIR)/.prepared
|
STAMP_PREPARED:=$(LINUX_DIR)/.prepared
|
||||||
STAMP_CONFIGURED:=$(LINUX_DIR)/.configured
|
STAMP_CONFIGURED:=$(LINUX_DIR)/.configured
|
||||||
include $(INCLUDE_DIR)/download.mk
|
include $(INCLUDE_DIR)/download.mk
|
||||||
|
|
|
@ -37,7 +37,7 @@ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
|
||||||
define Kernel/Prepare/Default
|
define Kernel/Prepare/Default
|
||||||
bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
|
bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
|
||||||
$(Kernel/Patch)
|
$(Kernel/Patch)
|
||||||
$(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
|
touch $(LINUX_DIR)/.quilt_used
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define Kernel/Prepare/Default
|
define Kernel/Prepare/Default
|
||||||
|
|
|
@ -67,7 +67,7 @@ define Build/Patch/Default
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Kernel/Patch/Default
|
define Kernel/Patch/Default
|
||||||
$(if $(QUILT),rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches)
|
rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches
|
||||||
if [ -d $(GENERIC_FILES_DIR) ]; then $(CP) $(GENERIC_FILES_DIR)/* $(LINUX_DIR)/; fi
|
if [ -d $(GENERIC_FILES_DIR) ]; then $(CP) $(GENERIC_FILES_DIR)/* $(LINUX_DIR)/; fi
|
||||||
if [ -d $(FILES_DIR) ]; then \
|
if [ -d $(FILES_DIR) ]; then \
|
||||||
$(CP) $(FILES_DIR)/* $(LINUX_DIR)/; \
|
$(CP) $(FILES_DIR)/* $(LINUX_DIR)/; \
|
||||||
|
|
Loading…
Reference in New Issue