Makefile.Cobalt in pebble.zip


Pebble, based on the operating system component technology...Original Link
    Sponsored links

			
## 
# Copyright 1999, 2000, 2001, 2002 Lucent Technologies Inc.
# All Rights Reserved.
# Information Sciences Research Center, Bell Labs.
#
# LUCENT TECHNOLOGIES DOES NOT CLAIM MERCHANTABILITY OF THIS SOFTWARE 
# OR THE SUITABILITY OF THIS SOFTWARE FOR ANY PARTICULAR PURPOSE. The
# software is provided "as is" without expressed or implied warranty 
# of any kind.
#
# These notices must be retained in any copies of any part of this
# software.
#
##

## 
# Copyright 1999, 2000, 2001, 2002 Lucent Technologies Inc.
# All Rights Reserved.
# Information Sciences Research Center, Bell Labs.
#
# LUCENT TECHNOLOGIES DOES NOT CLAIM MERCHANTABILITY OF THIS SOFTWARE 
# OR THE SUITABILITY OF THIS SOFTWARE FOR ANY PARTICULAR PURPOSE. The
# software is provided "as is" without expressed or implied warranty 
# of any kind.
#
# These notices must be retained in any copies of any part of this
# software.
#
##

BASE=..
include $(BASE)/CONFIG

SERVERS = $(shell $(BASE)/scripts/mk_servers $(BASE)/conf/${CONF}.conf)
INLINE = $(SERVERS:%=inline_%.o)

# Assumption: SBD=P5230L or P5000L for the following starting address
TEXTADDR = -Ttext 80020000

LIBDIR = .

LIBS= $(BASE)/shared/libshared-$(TARGET).a 
NUCDEFINES += -DNUCLEUS 

CFLAGS += $(NUCDEFINES) -I$(BASE)/servers/enet/mips
ASFLAGS += $(NUCDEFINES) -DASSEMBLER

CSRC=main.c loader.c mmu.c kvm.c shm.c phys_mem.c error.c log.c cons.c \
	kprintf.c $(CONF).c nucleus_portals.c shutdown.c flash.c  \
	inside_intr.c inside_rtc.c
SSRC=l.S cache.S stub.S

COBJ=$(CSRC:.c=.o)
SOBJ=$(SSRC:.S=.o)

OBJ=$(COBJ) $(SOBJ) $(INLINE)

all: pebble 

pebble: crt0.o $(OBJ) $(BASE)/CONFIG
	$(LD) -v -T$(BASE)/scripts/mips/kern.ldscript.le $(TEXTADDR) -e _start crt0.o $(OBJ) \
	-L$(LIBDIR) $(LIBS) -o $@
#	-L$(LIBDIR) -lram $(LIBS) -o $@

# generate servers call file
$(CONF).c: $(BASE)/conf/$(CONF).conf
	$(BASE)/scripts/mk_serv_init $(BASE)/conf/$(CONF).conf > $@

# rules for specific targets
# only l.S should be compiled with -G0 to prevent 			

			...
			...
			... to be continued.

  This is a preview. To get the complete source file, 
  please click here to download the whole source code package.

			
			


Project Files

    Sponsored links
NameSizeDate
 09.00 B
 09.00 B
 09.00 B
 Makefile1,001.00 B08-03-02 03:25
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 app1.c53.86 kB08-03-02 03:23
 Files27.00 B08-03-02 03:18
 09.00 B
 Makefile1,001.00 B08-03-02 03:25
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 app2.c1,009.00 B08-03-02 03:23
 Files27.00 B08-03-02 03:18
 09.00 B
 Makefile1,001.00 B08-03-02 03:25
 09.00 B
 Files14.00 B08-03-02 03:18
 09.00 B
 app3.c2.40 kB08-03-02 03:23
 Files27.00 B08-03-02 03:18
 09.00 B
 Makefile1,001.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 app4.c4.50 kB08-03-02 03:23
 Files27.00 B08-03-02 03:18
 09.00 B
 Makefile1,003.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 astest.c2.03 kB08-03-02 03:23
 Files29.00 B08-03-02 03:18
 09.00 B
 Makefile1,002.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files28.00 B08-03-02 03:18
 hello.c2.41 kB08-03-02 03:23
 09.00 B
 Makefile1,005.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files31.00 B08-03-02 03:18
 intrtest.c2.38 kB08-03-02 03:23
 09.00 B
 Makefile1,006.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files32.00 B08-03-02 03:18
 lat_cache.c2.19 kB08-03-02 03:23
 09.00 B
 Makefile1,010.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files36.00 B08-03-02 03:18
 lat_interpose.c3.46 kB08-03-02 03:23
 09.00 B
 Makefile1,005.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 sort.S1.10 kB08-03-02 03:23
 09.00 B
 Files31.00 B08-03-02 03:18
 lat_intr.c6.34 kB08-03-02 03:23
 09.00 B
 Makefile1,005.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files31.00 B08-03-02 03:18
 lat_pipe.c4.62 kB08-03-02 03:23
 09.00 B
 Makefile1,004.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files30.00 B08-03-02 03:18
 lat_rpc.c14.61 kB08-03-02 03:23
 09.00 B
 09.00 B
 Makefile1,004.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files31.00 B08-03-02 03:18
 lat_sem2.c4.43 kB08-03-02 03:23
 Makefile1,004.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files30.00 B08-03-02 03:18
 lat_sem.c3.20 kB08-03-02 03:23
 Makefile1.09 kB08-03-02 03:25
 09.00 B
 CONFIG3.92 kB08-03-02 03:26
 app1_cobalt.conf596.00 B08-03-02 03:25
 app2_cobalt.conf591.00 B08-03-02 03:25
 app3_cobalt.conf591.00 B08-03-02 03:25
 app4_cobalt.conf591.00 B08-03-02 03:25
 astest_cobalt.conf663.00 B08-03-02 03:25
 cobalt.conf1.62 kB08-03-02 03:25
 hello_cobalt.conf673.00 B08-03-02 03:25
 intrtest_cobalt.conf665.00 B08-03-02 03:25
 lat_cache_cobalt.conf623.00 B08-03-02 03:25
 lat_interpose_cobalt.conf600.00 B08-03-02 03:25
 lat_intr_cobalt.conf595.00 B08-03-02 03:25
 lat_pipe_cobalt.conf595.00 B08-03-02 03:25
 lat_rpc_cobalt.conf594.00 B08-03-02 03:25
 lat_sem2_cobalt.conf595.00 B08-03-02 03:25
 lat_sem_cobalt.conf594.00 B08-03-02 03:25
 portals3.69 kB08-03-02 03:25
 09.00 B
 interposition.txt2.35 kB08-03-02 03:26
 release.txt6.04 kB09-28-02 06:43
 tutorial.txt139.28 kB09-28-02 04:38
 09.00 B
 assert.h557.00 B08-03-02 04:12
 bitmap.h1.24 kB08-03-02 03:23
 diag.h1.80 kB08-03-02 03:23
 elf.h7.47 kB09-27-02 05:52
 kit_impl.h3.90 kB08-03-02 04:13
 lock_free.h1.43 kB08-03-02 03:23
 log.h2.50 kB08-03-02 03:23
 Makefile1.38 kB08-03-02 03:26
 nucleus.h1.68 kB08-03-02 03:23
 pebble-time.h1.61 kB08-03-02 03:23
 pebble.h12.70 kB08-03-02 03:23
 signal.h1.82 kB08-03-02 03:23
 stddef.h581.00 B08-03-02 03:23
 string.h1.08 kB08-03-02 03:23
 synch.h2.50 kB08-03-02 03:23
 time.h1.63 kB08-03-02 03:23
 types.h644.00 B08-03-02 03:23
 unistd.h773.00 B08-03-02 03:23
 09.00 B
 cache.S6.47 kB08-03-02 03:23
 cons.c3.66 kB08-03-02 03:23
 crt0.S1.20 kB08-03-02 04:14
 error.c895.00 B08-03-02 03:23
 flash.c2.76 kB08-03-02 03:23
 kern.h917.00 B08-03-02 03:23
 kprintf.c1.44 kB08-03-02 03:23
 kvm.c36.34 kB08-03-02 03:23
 l.S39.78 kB08-03-02 03:23
 loader.c28.39 kB08-03-02 03:23
 log.c2.56 kB08-03-02 03:23
 main.c17.82 kB08-03-02 03:23
 Makefile.Cobalt6.21 kB08-03-02 03:26
 mmu.c4.20 kB08-03-02 03:23
 phys_mem.c9.43 kB08-03-02 03:23
 shm.c7.13 kB08-03-02 03:23
 shutdown.c1.96 kB08-03-02 03:23
 Makefile3.32 kB08-03-02 04:47
 09.00 B
 patch.kern_ldscript_le363.00 B08-03-02 04:43
 patch.memcpy_S10.58 kB08-03-02 03:26
 patch.qsort_c6.00 kB08-03-02 03:26
 patch.random_c2.36 kB08-03-02 03:26
 patch.srandom_c947.00 B08-03-02 03:26
 patch.st16650_h4.94 kB08-03-02 03:26
 README4.35 kB09-28-02 04:37
 09.00 B
 exe-dir-makefile836.00 B08-03-02 03:26
 lib-makefile831.00 B08-03-02 03:26
 make-depend1.27 kB08-03-02 03:26
 09.00 B
 hexdump.format567.00 B08-03-02 03:26
 ld.script2.61 kB08-03-02 03:51
 mk_exclude926.00 B08-03-02 03:26
 mk_inline2.42 kB08-03-02 03:26
 mk_section2.79 kB08-03-02 03:26
 mk_inside1.73 kB08-03-02 03:26
 mk_nucleus_portals2.04 kB08-03-02 03:26
 mk_portals1.63 kB08-03-02 03:26
 mk_servers1.42 kB08-03-02 03:26
 mk_serv_init3.81 kB08-03-02 03:26
 mk_stubs1.21 kB08-03-02 03:26
 top-app-makefile524.00 B08-03-02 03:26
 top-exe-makefile1.28 kB08-03-02 03:26
 top-lib-makefile836.00 B08-03-02 03:26
 top-server-makefile527.00 B08-03-02 03:26
 09.00 B
 09.00 B
 Makefile1,007.00 B08-03-02 03:26
 09.00 B
 cache.c2.76 kB08-03-02 03:23
 Files28.00 B08-03-02 03:18
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Makefile1,009.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 condition.c9.63 kB08-03-02 03:23
 Files32.00 B08-03-02 03:18
 09.00 B
 Makefile1,002.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files27.00 B08-03-02 03:18
 fs.c5.36 kB08-03-02 03:23
 09.00 B
 Makefile1,004.00 B08-03-02 03:26
 09.00 B
 Files14.00 B08-03-02 03:18
 09.00 B
 Files25.00 B08-03-02 03:18
 idle.c2.84 kB08-03-02 03:23
 09.00 B
 Makefile1,004.00 B08-03-02 03:26
 09.00 B
 Files19.00 B08-03-02 03:18
 intr.c13.04 kB08-03-02 03:23
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Makefile1,005.00 B08-03-02 03:26
 09.00 B
 Files26.00 B08-03-02 03:18
 led.c8.77 kB08-03-02 03:23
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Makefile1,004.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files27.00 B08-03-02 03:18
 lock.c7.47 kB08-03-02 03:23
 Makefile1.04 kB08-03-02 03:26
 09.00 B
 Makefile1,006.00 B08-03-02 03:26
 09.00 B
 code.c28.28 kB08-03-02 03:23
 Files33.00 B08-03-02 03:18
 portal.c40.83 kB08-03-02 03:23
 09.00 B
 aligned_alloc.c5.60 kB08-03-02 03:23
 Files36.00 B08-03-02 03:18
 portal.h1.46 kB08-03-02 03:23
 09.00 B
 Makefile1,003.00 B08-03-02 03:26
 09.00 B
 Files18.00 B08-03-02 03:18
 rtc.c10.64 kB08-03-02 03:23
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Makefile1,005.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files28.00 B08-03-02 03:18
 sched.c27.80 kB08-03-02 03:23
 09.00 B
 Makefile1,006.00 B08-03-02 03:26
 09.00 B
 Files29.00 B08-03-02 03:18
 serial.c13.08 kB08-03-02 03:23
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Makefile1,006.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files29.00 B08-03-02 03:18
 signal.c5.28 kB08-03-02 03:23
 09.00 B
 Makefile1,002.00 B08-03-02 03:26
 09.00 B
 Files16.00 B08-03-02 03:18
 09.00 B
 Files26.00 B08-03-02 03:18
 vm.c5.66 kB08-03-02 03:23
 09.00 B
 Makefile1,000.00 B08-03-02 03:26
 09.00 B
 compare_swap.S1.46 kB08-03-02 03:23
 getpagesize.c648.00 B08-03-02 03:23
 get_caller.c968.00 B08-03-02 03:23
 get_log.c899.00 B08-03-02 03:23
 intr_stack.c904.00 B08-03-02 03:23
 Makefile696.00 B09-28-02 04:20
 memset.S2.00 kB09-28-02 04:21
 misc.S2.10 kB08-03-02 03:23
 read_write.c1.48 kB08-03-02 03:23
 serv_lib.c2.48 kB08-03-02 03:23
 strcmp.S913.00 B09-28-02 04:22
 stub_copy.S2.25 kB08-03-02 03:23
 09.00 B
 atoi.c726.00 B09-28-02 04:22
 barrier.c1.32 kB08-03-02 03:23
 bcmp.c828.00 B08-03-02 03:23
 bcopy.c479.00 B09-28-02 04:23
 bitmap.c9.01 kB08-03-02 03:23
 bzero.c244.00 B09-28-02 04:23
 condition.c2.27 kB08-03-02 03:23
 delay.c1.21 kB08-03-02 03:23
 error.c1.54 kB08-03-02 03:23
 fadd.c742.00 B08-03-02 03:23
 gets.c798.00 B08-03-02 03:23
 intmap.c8.04 kB08-03-02 03:23
 Makefile936.00 B09-28-02 04:24
 malloc.c35.78 kB08-03-02 04:16
 malloc_debug.c3.18 kB08-03-02 03:23
 memcmp.c860.00 B08-03-02 03:23
 mutex.c4.73 kB08-03-02 03:23
 mutex_safe.c1.73 kB08-03-02 03:23
 panic.c1.51 kB08-03-02 03:23
 portal.c1.90 kB08-03-02 03:23
 portal_pair.c2.25 kB08-03-02 03:23
 printf.c6.89 kB08-03-02 04:15
 puts.c682.00 B08-03-02 03:23
 queue.c2.96 kB08-03-02 03:23
 rand.c1.54 kB09-28-02 04:26
 scanf.c7.54 kB09-28-02 04:27
 sem.c1.84 kB08-03-02 03:23
 shm.c1.02 kB08-03-02 03:23
 short2hex.c775.00 B08-03-02 03:23
 signal.c6.08 kB08-03-02 03:23
 strchr.c327.00 B09-28-02 04:27
 strcpy.c384.00 B09-28-02 04:28
 strcspn.c316.00 B09-28-02 04:28
 strdup.c729.00 B08-03-02 03:23
 strlcat.c1.45 kB09-28-02 04:29
 strlcpy.c1.43 kB08-03-02 03:23
 strlen.c598.00 B08-03-02 03:23
 strncmp.c417.00 B09-28-02 04:29
 strncpy.c396.00 B09-28-02 04:29
 strspn.c891.00 B08-03-02 03:23
 strtok.c687.00 B09-28-02 04:30
 symbol.c1.12 kB08-03-02 03:23
 time.c1.41 kB08-03-02 03:23
 timeout.c3.37 kB08-03-02 03:23
 09.00 B
 asm.h1.17 kB08-03-02 04:17
 09.00 B
 qube.h2.83 kB08-03-02 03:24
 stdarg.h1.85 kB08-03-02 03:24
 cpu.h530.00 B08-03-02 03:24
 Makefile1.18 kB08-03-02 03:26
 mem.h11.31 kB08-03-02 03:24
 mips_types.h909.00 B08-03-02 03:24
 ns16550.h4.49 kB08-03-02 03:24
 op.h4.67 kB08-03-02 03:24
 perfcount.h5.08 kB08-03-02 03:24
 r5kc0.h24.01 kB08-03-02 04:18
 regdef.h925.00 B08-03-02 04:18
 stdarg.h3.91 kB08-03-02 04:18
 09.00 B
 Makefile998.00 B08-03-02 03:26
 09.00 B
 crt0.S1.81 kB08-03-02 03:24
 Makefile1,013.00 B08-03-02 03:26
 stub.S4.56 kB08-03-02 03:24
 09.00 B
 Makefile1,000.00 B08-03-02 03:26
...

Related Items

    Sponsored links