VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxMisc/Makefile@ 28442

Last change on this file since 28442 was 26441, checked in by vboxsync, 15 years ago

more EFI OSE fixes

File size: 1.3 KB
Line 
1# $Id$
2#* @file
3# Makefile - assembling the iso image for experimenting with EFI.
4#/
5#
6#
7# Copyright (C) 2009-2010 Sun Microsystems, Inc.
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21#/
22
23#
24# Here we add modules to be burn on iso-image
25#
26SOURCES += VBoxInterceptorDxe.efi
27SOURCES += VBoxMimicryDxe.efi
28
29ifeq ($(BUILD_ARCH), IA32)
30ARCH_SUFFIX=
31else
32ARCH_SUFFIX=$(BUILD_ARCH)
33endif
34
35BUILD_ARCH ?= IA32
36BUILD_DIR=$(WORKSPACE)/Build/VBoxPkg$(ARCH_SUFFIX)/DEBUG_UNIXGCC/$(BUILD_ARCH)
37
38ISO_DIR=efi-app
39FILES_TO_ISO=$(foreach file, $(SOURCES), $(addprefix $(ISO_DIR)/, $(file)))
40
41DEST=efi-app.iso
42all:${DEST}
43
44$(DEST):$(FILES_TO_ISO)
45 mkisofs -R -o $@ $(basename $@)
46
47$(ISO_DIR)/%.efi:$(BUILD_DIR)/%.efi
48 cp $< $@
49
50clean:
51 $(RM) -rf ${DEST} $(FILES_TO_ISO)
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette