diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-21 18:09:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-21 18:09:41 +0000 |
commit | 9fe50db569956a34fcd8e9426bdc4a9f08a615af (patch) | |
tree | 8ee33375ce0aa5d8a0383fd3812044dae4362b1f /openwrt/target | |
parent | afabdf26755a13f614f525d11565c2f1f0823f85 (diff) | |
download | mtk-20170518-9fe50db569956a34fcd8e9426bdc4a9f08a615af.zip mtk-20170518-9fe50db569956a34fcd8e9426bdc4a9f08a615af.tar.gz mtk-20170518-9fe50db569956a34fcd8e9426bdc4a9f08a615af.tar.bz2 |
fix sdk build
SVN-Revision: 699
Diffstat (limited to 'openwrt/target')
-rw-r--r-- | openwrt/target/Makefile | 7 | ||||
-rw-r--r-- | openwrt/target/utils/Makefile | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/openwrt/target/Makefile b/openwrt/target/Makefile index bd33a1a..248bcff 100644 --- a/openwrt/target/Makefile +++ b/openwrt/target/Makefile @@ -29,9 +29,6 @@ IMAGE_TARGETS += $(BIN_DIR)/openwrt-motorola-$(1).bin endif endef -$(LINUX_IMAGE): $(LINUX_KERNEL) - cat $^ | $(BUILD_DIR)/lzma/lzma e -si -so -eos > $@ || (rm -f $@ && false) - TARGET_DIRS:= TARGET_FS:= IMAGE_TARGETS:= @@ -74,8 +71,8 @@ $(BIN_DIR): $(INSTALL_TARGET_DIRS): lzma-loader-compile $(IMAGE_TARGETS): $(patsubst %,%-install,$(TARGET_DIRS)) -compile: $(patsubst %,%-compile,jffs2 lzma squashfs-lzma lzma-loader) -install: utils-install lzma-install $(LINUX_IMAGE) $(patsubst %,%-install,$(TARGET_DIRS)) $(IMAGE_TARGETS) +compile: $(patsubst %,%-compile,jffs2 lzma squashfs-lzma lzma-loader utils) +install: utils-install lzma-install $(patsubst %,%-install,$(TARGET_DIRS)) $(IMAGE_TARGETS) clean: $(patsubst %,%-clean,$(TARGET_DIRS)) image_clean image_clean: diff --git a/openwrt/target/utils/Makefile b/openwrt/target/utils/Makefile index 2a91cbb..9762881 100644 --- a/openwrt/target/utils/Makefile +++ b/openwrt/target/utils/Makefile @@ -12,9 +12,9 @@ UTILS_BUILD_DIR:=$(BUILD_DIR)/target-utils prepare: $(UTILS_BUILD_DIR) compile: prepare $(patsubst %,$(UTILS_BUILD_DIR)/%,$(TARGETS)) -install: compile mkdir -p $(STAGING_DIR)/bin cp -a $(UTILS_BUILD_DIR)/* $(STAGING_DIR)/bin/ +install: compile package: clean: rm -rf $(UTILS_BUILD_DIR) |