Changeset 136edca in mainline for boot/arch/arm32/loader/Makefile
- Timestamp:
- 2008-05-29T16:04:09Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 960f8476
- Parents:
- e19d667
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/loader/Makefile
re19d667 r136edca 28 28 29 29 include ../../../../version 30 include ../../../ ../Makefile.config30 include ../../../Makefile.config 31 31 32 32 ## Toolchain configuration 33 33 # 34 34 35 BFD = elf32-littlearm 36 BFD_NAME = elf32-littlearm 37 BFD_ARCH = arm 35 38 TARGET = arm-linux-gnu 36 39 TOOLCHAIN_DIR = /usr/local/arm/bin 37 40 38 ifeq ($(COMPILER), native)41 ifeq ($(COMPILER),gcc_native) 39 42 CC = gcc 40 43 AS = as … … 42 45 OBJCOPY = objcopy 43 46 OBJDUMP = objdump 44 else 47 endif 48 49 ifeq ($(COMPILER),gcc_cross) 45 50 CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc 46 51 AS = $(TOOLCHAIN_DIR)/$(TARGET)-as … … 69 74 asm.S \ 70 75 mm.c \ 76 print/gxemul.c \ 77 _components.c \ 71 78 ../../../generic/printf.c \ 72 79 ../../../genarch/division.c 73 74 ifeq ($(MACHINE), gxemul_testarm)75 SOURCES += print/gxemul.c76 endif77 78 80 79 81 COMPONENTS = \ 80 82 $(KERNELDIR)/kernel.bin \ 81 83 $(USPACEDIR)/srv/ns/ns \ 84 $(USPACEDIR)/srv/fb/fb \ 82 85 $(USPACEDIR)/srv/kbd/kbd \ 83 86 $(USPACEDIR)/srv/console/console \ 84 $(USPACEDIR)/srv/fb/fb \85 87 $(USPACEDIR)/srv/vfs/vfs \ 86 88 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ … … 88 90 $(USPACEDIR)/srv/devmap/devmap \ 89 91 $(USPACEDIR)/app/init/init \ 92 $(USPACEDIR)/app/tetris/tetris \ 90 93 $(USPACEDIR)/app/tester/tester \ 91 $(USPACEDIR)/app/klog/klog \ 92 $(USPACEDIR)/app/tetris/tetris 94 $(USPACEDIR)/app/klog/klog 93 95 94 96 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) … … 101 103 -include Makefile.depend 102 104 103 image.boot: depend _components.h _link.ld $( OBJECTS) $(COMPONENT_OBJECTS)104 $(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@ 105 image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) 106 $(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@ 105 107 106 108 depend: … … 108 110 109 111 clean: 110 -rm -f _components.h _ link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend112 -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend 111 113 112 _components.h _ link.ld $(COMPONENT_OBJECTS): $(COMPONENTS)113 . /pack $(IMAGE) $(OBJCOPY)$(COMPONENTS)114 _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) 115 ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD) $(BFD_ARCH) 4096 $(COMPONENTS) 114 116 115 117 %.o: %.S
Note:
See TracChangeset
for help on using the changeset viewer.