~ubuntu-branches/ubuntu/trusty/virtualbox-ose/trusty

« back to all changes in this revision

Viewing changes to src/VBox/Devices/EFI/Thunk/Makefile.kmk

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-12-18 16:44:29 UTC
  • mfrom: (0.3.3 upstream) (0.4.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091218164429-jd34ccexpv5na11a
Tags: 3.1.2-dfsg-1ubuntu1
* Merge from Debian unstable (LP: #498219), remaining changes:
  - Disable update action
    - debian/patches/u01-disable-update-action.dpatch
  - VirtualBox should go in Accessories, not in System tools (LP: #288590)
    - debian/virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add Apport hook
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Add Launchpad integration
    - debian/control
    - debian/lpi-bug.xpm
    - debian/patches/u02-lp-integration.dpatch
* Fixes the following bugs:
  - Kernel module fails to build with Linux >= 2.6.32 (LP: #474625)
  - X.Org drivers need to be rebuilt against X-Server 1.7 (LP: #495935)
  - The *-source packages try to build the kernel modules even though the
    kernel headers aren't available (LP: #473334)
* Replace *-source packages with transitional packages for *-dkms.
* Adapt u01-disable-update-action.dpatch and u02-lp-integration.dpatch for
  new upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: Makefile.kmk $
 
2
## @file
 
3
# Sub-Makefile for EFI thunking ROM image.
 
4
#
 
5
# The thunking ROM image is where the CPU starts in an EFI config. It is
 
6
# responsible for setting up and switching to protected or long mode and
 
7
# invoking the SEC CORE image in the Firmware Volume.
 
8
#
 
9
 
 
10
#
 
11
# Copyright (C) 2009 Sun Microsystems, Inc.
 
12
#
 
13
# This file is part of VirtualBox Open Source Edition (OSE), as
 
14
# available from http://www.virtualbox.org. This file is free software;
 
15
# you can redistribute it and/or modify it under the terms of the GNU
 
16
# General Public License (GPL) as published by the Free Software
 
17
# Foundation, in version 2 as it comes in the "COPYING" file of the
 
18
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
 
19
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
 
20
#
 
21
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
 
22
# Clara, CA 95054 USA or visit http://www.sun.com if you need
 
23
# additional information or have any questions.
 
24
#
 
25
 
 
26
SUB_DEPTH = ../../../../..
 
27
include $(KBUILD_PATH)/subheader.kmk
 
28
 
 
29
 
 
30
#
 
31
# The library containing the ROM binary.
 
32
#
 
33
LIBRARIES += EfiThunkBin
 
34
EfiThunkBin_TEMPLATE  = VBOXR3
 
35
EfiThunkBin_DEFS      = IN_VBOXDD2
 
36
EfiThunkBin_SOURCES   = $(EfiThunkBin_0_OUTDIR)/EfiThunkBin.c
 
37
EfiThunkBin_CLEAN     = \
 
38
        $(EfiThunkBin_0_OUTDIR)/EfiThunkBin.c
 
39
 
 
40
$$(EfiThunkBin_0_OUTDIR)/EfiThunkBin.c: $$(EfiThunk_1_TARGET) $(VBOX_BIN2C) | $$(dir $$@)
 
41
        $(VBOX_BIN2C) -min 4 -max 4 -ascii -export EfiThunkBinary $< $@
 
42
 
 
43
 
 
44
#
 
45
# The ROM binary that gets turned into a library.
 
46
#
 
47
MISCBINS += EfiThunk
 
48
EfiThunk_TEMPLATE     = DUMMY
 
49
EfiThunk_LDTOOL       = VBoxDummyObjLdTool
 
50
EfiThunk_ASTOOL       = YASM
 
51
EfiThunk_ASFLAGS      = -f bin -a x86 --force-strict
 
52
EfiThunk_INCS         = ../Firmware2/VBoxPkg/Include
 
53
EfiThunk_SOURCES      = EfiThunk.asm
 
54
 
 
55
#
 
56
# Used by EfiThunk. Promote to Config.kmk if needed else where.
 
57
#
 
58
TOOL_VBoxDummyObjLdTool = Dummy Obj LD tool that just copies the object without linking.
 
59
define TOOL_VBoxDummyObjLdTool_LINK_MISCBIN_CMDS
 
60
        $(CP) -vf $(objs) $(out)
 
61
endef
 
62
 
 
63
include $(KBUILD_PATH)/subfooter.kmk
 
64