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 | c349f38e2434068a78e503f9fab0c81f5abb67c3 (patch) | |
tree | 0494c8119ae8813ac49b5dc71cb6c332b6be2cc8 /target | |
parent | b4312b447c9f06811d6ac1dc773fbf9eb4aa2575 (diff) | |
download | upstream-c349f38e2434068a78e503f9fab0c81f5abb67c3.tar.gz upstream-c349f38e2434068a78e503f9fab0c81f5abb67c3.tar.bz2 upstream-c349f38e2434068a78e503f9fab0c81f5abb67c3.zip |
fix sdk build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@699 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/Makefile | 7 | ||||
-rw-r--r-- | target/utils/Makefile | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/target/Makefile b/target/Makefile index bd33a1a7ca..248bcffcde 100644 --- a/target/Makefile +++ b/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/target/utils/Makefile b/target/utils/Makefile index 2a91cbbd59..9762881287 100644 --- a/target/utils/Makefile +++ b/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) |