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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [lib/] [Makefile] - Blame information for rev 655

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 393 julius
SW_ROOT=..
2
include $(SW_ROOT)/Makefile.inc
3
 
4
LIBORPSOC_SRC= lib-utils.c printf.c
5
 
6
%/$(DRIVER_OBJ):
7
        $(Q)$(MAKE) -C $* $(DRIVER_OBJ)
8
 
9
LIBORPSOC_OBJS=$(LIBORPSOC_SRC:%.c=%.o)
10
 
11
liborpsoc.a: $(LIBORPSOC_OBJS) $(SW_DRIVER_PATHS:%=%/$(DRIVER_OBJ))
12
        $(Q)$(OR32_AR) cru $@ $^
13
        $(Q)$(OR32_RANLIB) $@
14
 
15
clean:
16
        $(Q)rm -f *.a *.o
17 468 julius
 
18
# Special rule to help simulation Makefile compile VMEMs from ELFs passed via
19
# the USER_ELF variable
20
$(USER_ELF_BIN): $(USER_ELF)
21
        $(Q)$(OR32_OBJCOPY) -O binary $< $@
22
$(USER_ELF_VMEM): $(USER_ELF_BIN) $(UTILS_BIN2VMEM)
23 655 julius
        $(Q)$(UTILS_BIN2VMEM) $< $(USER_ELF_VMEM_GEN_OPTS) > $@
24 468 julius
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.