mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
fix unnecessary recompiling of packages
SVN-Revision: 2239
This commit is contained in:
parent
88568daa2a
commit
83c7321d6d
@ -251,6 +251,11 @@ $(STAGING_DIR)/include/linux/version.h: $(LINUX_DIR)/.configured
|
|||||||
$(STAMP_DIR)/.linux-compile: $(LINUX_DIR)/.modules_done
|
$(STAMP_DIR)/.linux-compile: $(LINUX_DIR)/.modules_done
|
||||||
@mkdir -p $(STAMP_DIR)
|
@mkdir -p $(STAMP_DIR)
|
||||||
@$(MAKE) $(TARGETS)
|
@$(MAKE) $(TARGETS)
|
||||||
|
ln -sf $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(LINUX_DIR)
|
||||||
|
@$(TRACE) target/linux/package
|
||||||
|
$(MAKE) -C $(TOPDIR)/target/linux/package \
|
||||||
|
$(KPKG_MAKEOPTS) \
|
||||||
|
compile
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(TARGET_MODULES_DIR):
|
$(TARGET_MODULES_DIR):
|
||||||
@ -271,11 +276,6 @@ prepare: $(LINUX_DIR)/.configured
|
|||||||
compile:
|
compile:
|
||||||
@$(PKG_TRACE) Compiling...
|
@$(PKG_TRACE) Compiling...
|
||||||
$(MAKE) $(STAMP_DIR)/.linux-compile $(MAKE_TRACE)
|
$(MAKE) $(STAMP_DIR)/.linux-compile $(MAKE_TRACE)
|
||||||
ln -sf $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(LINUX_DIR)
|
|
||||||
@$(TRACE) target/linux/package
|
|
||||||
$(MAKE) -C $(TOPDIR)/target/linux/package \
|
|
||||||
$(KPKG_MAKEOPTS) \
|
|
||||||
compile
|
|
||||||
|
|
||||||
install: compile $(TARGET_MODULES_DIR) $(KERNEL_IPKG)
|
install: compile $(TARGET_MODULES_DIR) $(KERNEL_IPKG)
|
||||||
rm -rf $(LINUX_BUILD_DIR)/root*
|
rm -rf $(LINUX_BUILD_DIR)/root*
|
||||||
|
@ -235,6 +235,11 @@ $(KERNEL_IPKG):
|
|||||||
$(STAMP_DIR)/.linux-compile: $(LINUX_DIR)/.modules_done
|
$(STAMP_DIR)/.linux-compile: $(LINUX_DIR)/.modules_done
|
||||||
@mkdir -p $(STAMP_DIR)
|
@mkdir -p $(STAMP_DIR)
|
||||||
@$(MAKE) $(TARGETS)
|
@$(MAKE) $(TARGETS)
|
||||||
|
ln -sf $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(LINUX_DIR)
|
||||||
|
@$(TRACE) target/linux/package
|
||||||
|
$(MAKE) -C $(TOPDIR)/target/linux/package \
|
||||||
|
$(KPKG_MAKEOPTS) \
|
||||||
|
compile
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
source: $(DL_DIR)/$(LINUX_SOURCE)
|
source: $(DL_DIR)/$(LINUX_SOURCE)
|
||||||
@ -242,11 +247,6 @@ prepare: $(LINUX_DIR)/.configured
|
|||||||
compile:
|
compile:
|
||||||
@$(PKG_TRACE) Compiling...
|
@$(PKG_TRACE) Compiling...
|
||||||
$(MAKE) $(STAMP_DIR)/.linux-compile $(MAKE_TRACE)
|
$(MAKE) $(STAMP_DIR)/.linux-compile $(MAKE_TRACE)
|
||||||
ln -sf $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(LINUX_DIR)
|
|
||||||
@$(TRACE) target/linux/package
|
|
||||||
$(MAKE) -C $(TOPDIR)/target/linux/package \
|
|
||||||
$(KPKG_MAKEOPTS) \
|
|
||||||
compile
|
|
||||||
|
|
||||||
install: compile $(TARGET_MODULES_DIR) $(KERNEL_IPKG)
|
install: compile $(TARGET_MODULES_DIR) $(KERNEL_IPKG)
|
||||||
rm -rf $(LINUX_BUILD_DIR)/root*
|
rm -rf $(LINUX_BUILD_DIR)/root*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user