mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Fix Xen target image dependencies.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
652e141b62
commit
db3a615c31
2 files changed
+3
-1
No files matched your search
@@ -55,12 +55,14 @@ $(TARGET): delete-unfresh-files
|
||||
[ -e include/asm ] || ln -sf asm-$(TARGET_ARCH) include/asm
|
||||
$(MAKE) -C arch/$(TARGET_ARCH) asm-offsets.s
|
||||
$(MAKE) include/asm-$(TARGET_ARCH)/asm-offsets.h
|
||||
ifneq ($(TARGET_ARCH),x86)
|
||||
$(MAKE) -C common
|
||||
$(MAKE) -C drivers
|
||||
ifeq ($(ACM_SECURITY),y)
|
||||
$(MAKE) -C acm
|
||||
endif
|
||||
$(MAKE) -C arch/$(TARGET_ARCH)
|
||||
endif
|
||||
$(MAKE) -C arch/$(TARGET_ARCH) $(TARGET)
|
||||
|
||||
# drivers/char/console.o contains static banner/compile info. Blow it away.
|
||||
|
||||
@@ -55,7 +55,7 @@ $(TARGET): $(TARGET)-syms boot/mkelf32
|
||||
./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000 \
|
||||
`$(NM) $(TARGET)-syms | sort | tail -n 1 | sed -e 's/^\([^ ]*\).*/0x\1/'`
|
||||
|
||||
$(TARGET)-syms: boot/$(TARGET_SUBARCH).o xen.lds
|
||||
$(TARGET)-syms: boot/$(TARGET_SUBARCH).o $(ALL_OBJS) xen.lds
|
||||
$(LD) $(LDFLAGS) -T xen.lds -N \
|
||||
boot/$(TARGET_SUBARCH).o $(ALL_OBJS) -o $@
|
||||
$(NM) -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S
|
||||
|
||||