fix lzma loader dependency

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1674 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2005-08-14 20:31:12 +00:00
parent c6a1829d3c
commit 6271c3f870
1 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,7 @@ ifeq ($(IB),)
$(KDIR)/vmlinux.lzma: $(KDIR)/vmlinux $(KDIR)/vmlinux.lzma: $(KDIR)/vmlinux
cat $^ | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $@ || (rm -f $@ && false) cat $^ | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $@ || (rm -f $@ && false)
$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx: $(KDIR)/vmlinux.lzma $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx: $(KDIR)/vmlinux.lzma compile
endif endif
ifeq ($(FS),jffs2-8MB) ifeq ($(FS),jffs2-8MB)
@ -54,13 +54,12 @@ ifeq ($(IB),)
clean: lzma-loader-clean clean: lzma-loader-clean
prepare: lzma-loader-prepare prepare: lzma-loader-prepare
compile: lzma-loader-compile compile: lzma-loader-compile
install: compile $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx
else else
clean: clean:
prepare: prepare:
compile: compile:
install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx
endif endif
install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx
install-ib: install-ib:
mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin
cp -dpR $(STAGING_DIR)/bin/addpattern $(STAGING_DIR)/bin/trx $(STAGING_DIR)/bin/motorola-bin $(IB_DIR)/staging_dir_$(ARCH)/bin cp -dpR $(STAGING_DIR)/bin/addpattern $(STAGING_DIR)/bin/trx $(STAGING_DIR)/bin/motorola-bin $(IB_DIR)/staging_dir_$(ARCH)/bin