3 include $(TOP)/config/make.cfg
7 FILES := irq_init irqclass servers functable
8 OBJDIR := $(GENDIR)/$(CURDIR)
9 END_FILE := $(OBJDIR)/endtag
10 ENDFUNC := $(END_FILE).o
12 #MM Drivers-generic-arm :
13 Drivers-generic-arm : libdefs.h $(foreach f,$(FILES),$(OBJDIR)/$(f).o) $(ENDFUNC)
14 %add_objects rom/boot/hidd_irq
15 @arm-elf-ld -r $(foreach f,$(FILES),$(OBJDIR)/$(f).o) $(ENDFUNC) \
16 -o $(OSGENDIR)/boot/hidd_irq.o
17 @$(OBJCOPY) -R .note -R .comment $(OSGENDIR)/boot/hidd_irq.o
21 -$(RM) $(OBJDIR) libdefs.h *.err
36 onbitmap.s: onbitmap.c
41 FUNCTABLE_SRCS := $(foreach f,$(FUNCTIONS),$(f).c)
48 %include_deps $(foreach f,$(FILES) $(FUNCTIONS),$(OBJDIR)/$(f).d) $(END_FILE).d