blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / nios2 / boot / compressed / Makefile
blob5b0fb346d88818022acbd4789a33207688731e6c
2 # create a compressed vmlinux image from the original vmlinux
5 targets := vmlinux head.o misc.o piggy.o vmlinux.lds
6 asflags-y :=
8 OBJECTS = $(obj)/head.o $(obj)/misc.o
10 LDFLAGS_vmlinux := -T
12 $(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS) $(obj)/piggy.o FORCE
13 $(call if_changed,ld)
16 LDFLAGS_piggy.o := -r --format binary --oformat elf32-littlenios2 -T
18 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/../vmlinux.gz FORCE
19 $(call if_changed,ld)