X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bf82d1e1fa09243728f245651ded9b8fbd6d3f09..ff69288edb1c2ef75c0ebb4a2dc159b82b92a3c5:/target/linux/image/brcm/lzma-loader/src/Makefile diff --git a/target/linux/image/brcm/lzma-loader/src/Makefile b/target/linux/image/brcm/lzma-loader/src/Makefile index 92916d8cb..85a864674 100644 --- a/target/linux/image/brcm/lzma-loader/src/Makefile +++ b/target/linux/image/brcm/lzma-loader/src/Makefile @@ -34,7 +34,7 @@ SEDFLAGS := s/BZ_TEXT_START/$(BZ_TEXT_START)/;s/TEXT_START/$(TEXT_START)/ OBJECTS := head.o data.o -all: loader.gz +all: loader.gz loader.elf # Don't build dependencies, this may die if $(CC) isn't gcc dep: @@ -44,6 +44,9 @@ install: loader.gz: loader gzip -nc9 $< > $@ +loader.elf: loader.o + cp $< $@ + loader: loader.o $(OBJCOPY) $< $@