OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [lib/] [Makefile] - Diff between revs 393 and 468

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 393 Rev 468
SW_ROOT=..
SW_ROOT=..
include $(SW_ROOT)/Makefile.inc
include $(SW_ROOT)/Makefile.inc
LIBORPSOC_SRC= lib-utils.c printf.c
LIBORPSOC_SRC= lib-utils.c printf.c
%/$(DRIVER_OBJ):
%/$(DRIVER_OBJ):
        $(Q)$(MAKE) -C $* $(DRIVER_OBJ)
        $(Q)$(MAKE) -C $* $(DRIVER_OBJ)
LIBORPSOC_OBJS=$(LIBORPSOC_SRC:%.c=%.o)
LIBORPSOC_OBJS=$(LIBORPSOC_SRC:%.c=%.o)
liborpsoc.a: $(LIBORPSOC_OBJS) $(SW_DRIVER_PATHS:%=%/$(DRIVER_OBJ))
liborpsoc.a: $(LIBORPSOC_OBJS) $(SW_DRIVER_PATHS:%=%/$(DRIVER_OBJ))
        $(Q)$(OR32_AR) cru $@ $^
        $(Q)$(OR32_AR) cru $@ $^
        $(Q)$(OR32_RANLIB) $@
        $(Q)$(OR32_RANLIB) $@
clean:
clean:
        $(Q)rm -f *.a *.o
        $(Q)rm -f *.a *.o
 
 
 
# Special rule to help simulation Makefile compile VMEMs from ELFs passed via
 
# the USER_ELF variable
 
$(USER_ELF_BIN): $(USER_ELF)
 
        $(Q)$(OR32_OBJCOPY) -O binary $< $@
 
$(USER_ELF_VMEM): $(USER_ELF_BIN) $(UTILS_BIN2VMEM)
 
        $(Q)$(UTILS_BIN2VMEM) $< > $@
 
gen-user-elf-vmem: $(USER_ELF_VMEM)
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.