Commit 4f3a1d56e45bcd325f1e8a976290142bc8662bee
Committed by
Anthony Liguori
1 parent
34d5e948
Rename OBJS to obj-y
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
1 changed file
with
9 additions
and
9 deletions
Makefile.hw
| ... | ... | @@ -15,24 +15,24 @@ CPPFLAGS += -I. -I.. -I$(SRC_PATH) -MMD -MP -MT $@ |
| 15 | 15 | CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE |
| 16 | 16 | CPPFLAGS+=-I$(SRC_PATH)/fpu |
| 17 | 17 | |
| 18 | -OBJS= | |
| 19 | -OBJS+= virtio.o virtio-pci.o | |
| 20 | -OBJS+= fw_cfg.o | |
| 21 | -OBJS+= watchdog.o | |
| 22 | -OBJS+= nand.o ecc.o | |
| 18 | +obj-y = | |
| 19 | +obj-y += virtio.o virtio-pci.o | |
| 20 | +obj-y += fw_cfg.o | |
| 21 | +obj-y += watchdog.o | |
| 22 | +obj-y += nand.o ecc.o | |
| 23 | 23 | |
| 24 | -OBJS+= m48t59.o escc.o | |
| 24 | +obj-y += m48t59.o escc.o | |
| 25 | 25 | |
| 26 | 26 | # SCSI layer |
| 27 | -OBJS+= lsi53c895a.o esp.o | |
| 27 | +obj-y += lsi53c895a.o esp.o | |
| 28 | 28 | |
| 29 | -OBJS+= dma-helpers.o sysbus.o | |
| 29 | +obj-y += dma-helpers.o sysbus.o | |
| 30 | 30 | |
| 31 | 31 | all: $(HWLIB) |
| 32 | 32 | # Dummy command so that make thinks it has done something |
| 33 | 33 | @true |
| 34 | 34 | |
| 35 | -$(HWLIB): $(OBJS) | |
| 35 | +$(HWLIB): $(obj-y) | |
| 36 | 36 | |
| 37 | 37 | clean: |
| 38 | 38 | rm -f *.o *.d *.a *~ | ... | ... |