diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-10-22 16:14:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-10-22 16:14:30 +0000 |
commit | 18797a0ad8588eaa2c87895ceb12306cb5e8ec3c (patch) | |
tree | fd6ff3ad616ed93808e48e5520e975b8e5acb5f8 /openwrt/target/linux | |
parent | d657a1590c75d3f3dcbe50f3bc6e19345615a5fd (diff) | |
download | mtk-20170518-18797a0ad8588eaa2c87895ceb12306cb5e8ec3c.zip mtk-20170518-18797a0ad8588eaa2c87895ceb12306cb5e8ec3c.tar.gz mtk-20170518-18797a0ad8588eaa2c87895ceb12306cb5e8ec3c.tar.bz2 |
another batch of V= stuff
SVN-Revision: 2244
Diffstat (limited to 'openwrt/target/linux')
-rw-r--r-- | openwrt/target/linux/Makefile | 10 | ||||
-rw-r--r-- | openwrt/target/linux/linux-2.4/Makefile | 4 | ||||
-rw-r--r-- | openwrt/target/linux/linux-2.6/Makefile | 5 | ||||
-rw-r--r-- | openwrt/target/linux/package/Makefile | 2 |
4 files changed, 8 insertions, 13 deletions
diff --git a/openwrt/target/linux/Makefile b/openwrt/target/linux/Makefile index ae7545a..fe3c6ca 100644 --- a/openwrt/target/linux/Makefile +++ b/openwrt/target/linux/Makefile @@ -9,23 +9,23 @@ IB_DIR:=$(BUILD_DIR)/$(IB_NAME) define kernel_template $(1)/$(2)-clean: - $(TRACE) target/linux/linux-$(2)/clean + $(TRACE) target/linux/linux-$(1)/clean $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" clean $(1)/$(2)-prepare: - $(TRACE) target/linux/linux-$(2)/prepare + $(TRACE) target/linux/linux-$(1)/prepare $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" prepare $(1)/$(2)-compile: - $(TRACE) target/linux/linux-$(2)/compile + $(TRACE) target/linux/linux-$(1)/compile $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" compile $(1)/$(2)-rebuild: - $(TRACE) target/linux/linux-$(2)/rebuild + $(TRACE) target/linux/linux-$(1)/rebuild $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" rebuild $(1)/$(2)-install: - $(TRACE) target/linux/linux-$(2)/install + $(TRACE) target/linux/linux-$(1)/install $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" install $(1)/$(2)-image: $(1)/$(2)-install diff --git a/openwrt/target/linux/linux-2.4/Makefile b/openwrt/target/linux/linux-2.4/Makefile index c3417bd..bd1dd6c 100644 --- a/openwrt/target/linux/linux-2.4/Makefile +++ b/openwrt/target/linux/linux-2.4/Makefile @@ -204,7 +204,6 @@ $(PACKAGE_DIR): mkdir -p $(PACKAGE_DIR) $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE) - @$(PKG_TRACE) Preparing... -mkdir -p $(LINUX_BUILD_DIR) bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(LINUX_BUILD_DIR) $(TAR_OPTIONS) - rm -f $(LINUX_DIR) @@ -217,7 +216,6 @@ $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked touch $(LINUX_DIR)/.patched $(LINUX_DIR)/.configured: $(LINUX_DIR)/.patched - @$(PKG_TRACE) Configuring... -cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config $(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" \ $(LINUX_DIR)/Makefile \ @@ -269,7 +267,7 @@ $(KERNEL_IPKG): if [ -f ./config/$(BOARD).modules ]; then \ cp ./config/$(BOARD).modules $(KERNEL_IDIR)/etc/modules; \ fi - $(IPKG_BUILD) $(KERNEL_IDIR) $(LINUX_BUILD_DIR) + $(IPKG_BUILD) $(KERNEL_IDIR) $(LINUX_BUILD_DIR) $(MAKE_TRACE) source: $(DL_DIR)/$(LINUX_SOURCE) prepare: $(LINUX_DIR)/.configured diff --git a/openwrt/target/linux/linux-2.6/Makefile b/openwrt/target/linux/linux-2.6/Makefile index 489f136..75f6ea0 100644 --- a/openwrt/target/linux/linux-2.6/Makefile +++ b/openwrt/target/linux/linux-2.6/Makefile @@ -179,11 +179,9 @@ $(PACKAGE_DIR): $(DL_DIR)/$(LINUX_SOURCE): -mkdir -p $(DL_DIR) - @$(PKG_TRACE) Downloading... $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_SOURCE) $(LINUX_KERNEL_MD5SUM) $(LINUX_SITE) $(MAKE_TRACE) $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE) - @$(PKG_TRACE) Preparing... -mkdir -p $(LINUX_BUILD_DIR) bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(LINUX_BUILD_DIR) $(TAR_OPTIONS) - rm -f $(LINUX_DIR) @@ -196,7 +194,6 @@ $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked touch $(LINUX_DIR)/.patched $(LINUX_DIR)/.configured: $(LINUX_DIR)/.patched - @$(PKG_TRACE) Configuring... -cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) oldconfig $(MAKE_TRACE) touch $(LINUX_DIR)/.configured @@ -230,7 +227,7 @@ $(KERNEL_IPKG): if [ -f ./config/$(BOARD).modules ]; then \ cp ./config/$(BOARD).modules $(KERNEL_IDIR)/etc/modules; \ fi - $(IPKG_BUILD) $(KERNEL_IDIR) $(LINUX_BUILD_DIR) + $(IPKG_BUILD) $(KERNEL_IDIR) $(LINUX_BUILD_DIR) $(MAKE_TRACE) $(STAMP_DIR)/.linux-compile: $(LINUX_DIR)/.modules_done @mkdir -p $(STAMP_DIR) diff --git a/openwrt/target/linux/package/Makefile b/openwrt/target/linux/package/Makefile index c69705b..97d2025 100644 --- a/openwrt/target/linux/package/Makefile +++ b/openwrt/target/linux/package/Makefile @@ -49,7 +49,7 @@ MAKEOPTS:= BOARD="$(BOARD)" \ @$(CMD_TRACE) " done" @$(END_TRACE) -%-install: %-compile +%-install: @$(START_TRACE) "target/linux/package/$(patsubst %-install,%,$@)-install: " $(MAKE) -C $(patsubst %-install,%,$@) \ $(MAKEOPTS) \ |