Changeset 1b1164e8 in mainline for uspace/lib/libc/arch/sparc64/Makefile.common
- Timestamp:
- 2010-03-23T14:44:00Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63f8966
- Parents:
- d99c1d2
- File:
-
- 1 moved
-
uspace/lib/libc/arch/sparc64/Makefile.common (moved) (moved from uspace/srv/net/Makefile ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/sparc64/Makefile.common
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 200 9 Lukas Mejdrech2 # Copyright (c) 2006 Martin Decky 3 3 # All rights reserved. 4 4 # … … 27 27 # 28 28 29 include ../../../Makefile.common 30 include ../../../Makefile.config 29 GCC_CFLAGS += -mcpu=ultrasparc -m64 30 LFLAGS = -no-check-sections 31 31 32 # keep netif drivers before nil modules 33 # in order to support networking architectures build 32 ENDIANESS = BE 34 33 35 ifeq ($(CONFIG_NETIF_DP8390),y) 36 DIRS = netif/dp8390 37 else 38 DIRS = 34 BFD_NAME = elf64-sparc 35 BFD_ARCH = sparc 36 37 ifeq ($(PROCESSOR),us) 38 DEFS += -DSUN4U 39 39 endif 40 40 41 DIRS += \ 42 netif/lo \ 43 nil/eth \ 44 nil/nildummy \ 45 net \ 46 net/start \ 47 socket \ 48 app/echo \ 49 app/ping \ 50 app/nettest1 \ 51 app/nettest2 52 53 DIRS_MODULAR = \ 54 il/arp \ 55 il/ip \ 56 tl/icmp \ 57 tl/udp \ 58 tl/tcp \ 59 60 DIRS_ALL = $(DIRS) $(DIRS_MODULAR) 61 62 ifeq ($(NETWORKING), module) 63 BUILDS := $(addsuffix .build,$(DIRS)) 64 else 65 ifeq ($(NETWORKING), modular) 66 BUILDS := $(addsuffix .build,$(DIRS_ALL)) 67 endif 41 ifeq ($(PROCESSOR),us3) 42 DEFS += -DSUN4U 68 43 endif 69 44 70 CLEANS := $(addsuffix .clean,$(DIRS_ALL)) 71 72 CHECKS := $(addsuffix .check,$(basename $(BUILDS))) 73 74 .PHONY: all build $(BUILDS) $(CLEANS) clean 75 76 all: $(BUILDS) 77 78 build: $(BUILDS) 79 80 check: $(CHECKS) 81 82 clean: $(CLEANS) 83 find $(DIRS_ALL) ./ -name '*.o' -follow -exec rm \{\} \; 84 85 $(CHECKS): 86 -$(MAKE) -C $(basename $@) check 87 88 $(CLEANS): 89 -$(MAKE) -C $(basename $@) clean 90 91 $(BUILDS): 92 $(MAKE) -C $(basename $@) all 45 ifeq ($(PROCESSOR),sun4v) 46 DEFS += -DSUN4V 47 endif
Note:
See TracChangeset
for help on using the changeset viewer.
