2007-07-11 05:04:35 +04:00
|
|
|
# This file defines what ends up on the Haiku image (respectively in the Haiku
|
|
|
|
# installation directory) and it executes the rules building the image
|
|
|
|
# (respectively installing the files in the installation directory).
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2007-07-11 05:04:35 +04:00
|
|
|
local X86_ONLY = ;
|
|
|
|
local PPC_ONLY = ;
|
2008-07-25 01:38:11 +04:00
|
|
|
local M68K_ONLY = ;
|
2006-01-07 23:29:50 +03:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
X86_ONLY = "" ;
|
|
|
|
} else if $(TARGET_ARCH) = ppc {
|
2008-07-25 01:38:11 +04:00
|
|
|
PPC_ONLY = "" ;
|
|
|
|
} else if $(TARGET_ARCH) = m68k {
|
|
|
|
M68K_ONLY = "" ;
|
2006-01-07 23:29:50 +03:00
|
|
|
}
|
|
|
|
|
2007-07-11 05:04:35 +04:00
|
|
|
local GPL_ONLY = ;
|
2009-12-20 16:55:45 +03:00
|
|
|
if $(HAIKU_INCLUDE_GPL_ADDONS) = 1 {
|
2006-05-10 00:05:27 +04:00
|
|
|
GPL_ONLY = "" ;
|
|
|
|
}
|
|
|
|
|
2009-04-30 04:04:08 +04:00
|
|
|
#HACK: remove when old ide code is removed!
|
|
|
|
local ATA_ONLY = ;
|
|
|
|
local IDE_ONLY = ;
|
|
|
|
if $(HAIKU_ATA_STACK) = 1 {
|
|
|
|
ATA_ONLY = "" ;
|
|
|
|
} else {
|
|
|
|
IDE_ONLY = "" ;
|
|
|
|
}
|
|
|
|
|
2011-01-04 22:23:24 +03:00
|
|
|
SYSTEM_BIN = "[" addattr alert arp base64 basename bash bc beep bzip2
|
2010-01-09 02:38:50 +03:00
|
|
|
cal cat catattr checkfs checkitout chgrp chmod chop chown chroot cksum clear
|
2009-09-19 02:23:34 +04:00
|
|
|
clockconfig cmp collectcatkeys comm compress copyattr CortexAddOnHost cp
|
2007-03-28 20:39:29 +04:00
|
|
|
csplit ctags cut date dc dd desklink df diff diff3 dircolors dirname
|
2009-09-19 02:23:34 +04:00
|
|
|
draggers driveinfo dstcheck du dumpcatalog
|
2009-05-02 19:39:49 +04:00
|
|
|
echo eject env error expand expr
|
2009-04-21 20:50:53 +04:00
|
|
|
factor false fdinfo ffm filepanel find finddir fmt fold fortune frcode
|
2009-09-19 02:23:34 +04:00
|
|
|
ftp ftpd funzip fwcontrol
|
2009-05-25 05:21:32 +04:00
|
|
|
gawk $(X86_ONLY)gdb getlimits grep groups gzip gzexe
|
2009-05-21 23:42:01 +04:00
|
|
|
hd head hey hostname
|
2009-09-12 10:11:11 +04:00
|
|
|
id ident ifconfig <bin>install installsound iroster isvolume
|
|
|
|
$(IDE_ONLY)ideinfo $(IDE_ONLY)idestatus
|
2010-04-10 20:28:53 +04:00
|
|
|
join kernel_debugger keymap kill
|
2009-09-19 02:23:34 +04:00
|
|
|
less lessecho lesskey link linkcatkeys listarea listattr listimage listdev
|
2011-07-09 08:29:20 +04:00
|
|
|
listport listres listsem listusb ln locale locate logger login logname ls
|
|
|
|
lsindex
|
2009-09-20 01:14:56 +04:00
|
|
|
mail2mbox makebootable mbox2mail md5sum merge message mimeset mkdos mkdir
|
2010-04-22 00:06:51 +04:00
|
|
|
mkfifo mkfs mkindex mktemp modifiers mount mount_nfs mountvolume mv
|
2010-05-27 18:48:27 +04:00
|
|
|
netcat netstat nl nohup notify nproc
|
2009-04-30 16:56:45 +04:00
|
|
|
od open
|
2011-06-16 11:00:06 +04:00
|
|
|
package package_repo passwd paste patch pathchk pc ping ping6 pkgman play
|
|
|
|
playfile playsound playwav pr prio printenv printf profile ps ptx pwd
|
2009-04-30 16:56:45 +04:00
|
|
|
query quit
|
2010-01-21 18:14:20 +03:00
|
|
|
rc readlink ReadOnlyBootPrompt reindex release renice rlog rm rmattr
|
|
|
|
rmindex rmdir roster route
|
2010-07-13 14:51:57 +04:00
|
|
|
safemode screen_blanker screenmode screenshot sdiff setdecor settype
|
2011-06-16 11:00:06 +04:00
|
|
|
setversion setvolume seq sha1sum sha256sum shar shred shuf shutdown sleep
|
|
|
|
sort spamdbm
|
2010-04-07 08:37:00 +04:00
|
|
|
split stat strace stty su sum sync sysinfo
|
2010-03-13 20:55:41 +03:00
|
|
|
tac tail tcpdump tcptester tee telnet telnetd test timeout top touch
|
2010-01-13 11:30:35 +03:00
|
|
|
tput tr traceroute translate trash true truncate tsort tty
|
2009-05-21 23:42:01 +04:00
|
|
|
uname unchop unexpand unmount uniq unlink unrar unshar unzip unzipsfx
|
|
|
|
<bin>updatedb uptime urlwrapper useradd uudecode uuencode
|
2010-03-13 22:41:07 +03:00
|
|
|
vdir version vmstat waitfor watch wc wget whoami xargs xres yes
|
2008-09-15 17:46:40 +04:00
|
|
|
zdiff zforce zgrep zip zipcloak <bin>zipgrep zipnote zipsplit zmore znew
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
2011-01-08 16:48:52 +03:00
|
|
|
SYSTEM_APPS = AboutSystem ActivityMonitor $(X86_ONLY)BootManager CharacterMap
|
|
|
|
CodyCam DeskCalc Devices DiskProbe DiskUsage DriveSetup CDPlayer Expander
|
2011-01-04 22:23:24 +03:00
|
|
|
Icon-O-Matic Installer LaunchBox Magnify Mail MediaConverter MediaPlayer
|
|
|
|
MidiPlayer NetworkStatus PackageInstaller People PoorMan PowerStatus
|
|
|
|
ProcessController Screenshot ShowImage SoundRecorder StyledEdit Terminal
|
|
|
|
TextSearch TV Workspaces
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2009-09-30 01:47:45 +04:00
|
|
|
SYSTEM_PREFERENCES = Appearance Backgrounds CPUFrequency DataTranslations
|
|
|
|
<preference>Deskbar E-mail FileTypes Fonts Keyboard Keymap Locale Media
|
2010-12-05 20:40:50 +03:00
|
|
|
Mouse Network Notifications OpenGL Printers Screen ScreenSaver Shortcuts
|
|
|
|
Sounds Time Touchpad <preference>Tracker VirtualMemory
|
2009-09-04 14:50:38 +04:00
|
|
|
;
|
2010-07-26 00:34:17 +04:00
|
|
|
SYSTEM_DEMOS = BSnow Chart Clock Cortex FontDemo GLTeapot
|
2010-12-05 20:40:50 +03:00
|
|
|
$(HAIKU_INCLUDE_TRADEMARKS)Haiku3d Mandelbrot OverlayImage Pairs Playground
|
|
|
|
Pulse Sudoku
|
2006-10-24 17:54:53 +04:00
|
|
|
;
|
2009-10-12 01:06:59 +04:00
|
|
|
SYSTEM_LIBS =
|
|
|
|
libbe.so libbsd.so libbnetapi.so
|
|
|
|
libdebug.so libdevice.so
|
2010-01-31 23:53:29 +03:00
|
|
|
libfreetype.so
|
2009-09-19 02:23:34 +04:00
|
|
|
libgame.so libGL.so libgnu.so
|
2009-10-12 01:06:59 +04:00
|
|
|
libjpeg.so
|
2010-01-31 23:53:29 +03:00
|
|
|
liblocale.so
|
2009-10-12 01:06:59 +04:00
|
|
|
libmail.so libmedia.so libmidi.so libmidi2.so
|
|
|
|
libnetwork.so
|
2011-06-16 11:00:06 +04:00
|
|
|
libpackage.so libpng.so
|
|
|
|
<revisioned>libroot.so
|
2009-10-12 01:06:59 +04:00
|
|
|
libscreensaver.so
|
2010-03-14 17:13:12 +03:00
|
|
|
libtextencoding.so libtiff.so libtracker.so libtranslation.so
|
2009-08-21 06:17:42 +04:00
|
|
|
libz.so
|
2010-01-28 02:13:49 +03:00
|
|
|
$(HAIKU_SHARED_LIBSTDC++) $(HAIKU_SHARED_LIBSUPC++)
|
|
|
|
;
|
|
|
|
PRIVATE_SYSTEM_LIBS =
|
2011-02-10 02:25:11 +03:00
|
|
|
libalm.so
|
2010-01-31 23:53:29 +03:00
|
|
|
libfluidsynth.so
|
|
|
|
libilmimf.so
|
2010-10-04 23:32:35 +04:00
|
|
|
liblpsolve55.so
|
2013-04-03 06:15:57 +04:00
|
|
|
libpackage-add-on-libsolv.so
|
2011-06-16 11:00:06 +04:00
|
|
|
libroot-addon-icu.so
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2009-08-14 21:55:28 +04:00
|
|
|
SYSTEM_SERVERS = app_server cddb_daemon debug_server input_server mail_daemon
|
2009-10-13 11:17:34 +04:00
|
|
|
media_addon_server media_server midi_server mount_server net_server
|
2013-04-06 06:29:34 +04:00
|
|
|
notification_server package_daemon power_daemon print_server
|
|
|
|
print_addon_server registrar syslog_daemon
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
2009-04-03 13:02:44 +04:00
|
|
|
SYSTEM_NETWORK_DEVICES = ethernet loopback ;
|
2011-07-06 20:51:01 +04:00
|
|
|
SYSTEM_NETWORK_DATALINK_PROTOCOLS = ethernet_frame <module>arp loopback_frame
|
|
|
|
ipv6_datagram ;
|
2009-04-03 13:02:44 +04:00
|
|
|
#SYSTEM_NETWORK_PPP = ipcp modem pap pppoe ;
|
2011-07-06 20:51:01 +04:00
|
|
|
SYSTEM_NETWORK_PROTOCOLS = ipv4 tcp udp icmp unix icmp6 ipv6 ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2009-04-03 13:02:44 +04:00
|
|
|
SYSTEM_ADD_ONS_ACCELERANTS = $(X86_ONLY)radeon.accelerant
|
|
|
|
$(X86_ONLY)nvidia.accelerant $(X86_ONLY)matrox.accelerant
|
|
|
|
$(X86_ONLY)neomagic.accelerant $(X86_ONLY)intel_extreme.accelerant
|
|
|
|
$(X86_ONLY)s3.accelerant $(X86_ONLY)vesa.accelerant
|
2009-06-05 06:50:25 +04:00
|
|
|
$(X86_ONLY)ati.accelerant
|
2010-06-29 00:43:37 +04:00
|
|
|
$(X86_ONLY)3dfx.accelerant
|
2011-10-20 18:22:30 +04:00
|
|
|
$(X86_ONLY)radeon_hd.accelerant
|
2008-03-28 12:24:29 +03:00
|
|
|
#$(X86_ONLY)via.accelerant
|
2007-03-28 20:39:29 +04:00
|
|
|
#$(X86_ONLY)vmware.accelerant
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2009-04-03 13:02:44 +04:00
|
|
|
SYSTEM_ADD_ONS_TRANSLATORS = BMPTranslator EXRTranslator GIFTranslator
|
2010-03-29 04:30:07 +04:00
|
|
|
HVIFTranslator ICOTranslator JPEGTranslator JPEG2000Translator
|
2009-10-12 01:06:59 +04:00
|
|
|
PCXTranslator PNGTranslator PPMTranslator
|
2009-04-03 13:02:44 +04:00
|
|
|
RAWTranslator RTF-Translator SGITranslator STXTTranslator TGATranslator
|
2010-11-19 18:45:37 +03:00
|
|
|
TIFFTranslator WebPTranslator WonderBrushTranslator
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2009-09-19 02:23:34 +04:00
|
|
|
SYSTEM_ADD_ONS_LOCALE_CATALOGS = <catalog-addon>zeta <catalog-addon>plaintext ;
|
2010-01-13 11:30:35 +03:00
|
|
|
SYSTEM_ADD_ONS_MEDIA = cortex_audioadapter.media_addon
|
|
|
|
cortex_flanger.media_addon
|
2008-03-30 05:41:10 +04:00
|
|
|
dvb.media_addon
|
2008-03-19 19:19:47 +03:00
|
|
|
hmulti_audio.media_addon
|
|
|
|
mixer.media_addon
|
2007-11-25 21:15:43 +03:00
|
|
|
opensound.media_addon
|
2008-03-30 05:41:10 +04:00
|
|
|
tone_producer_demo.media_addon
|
2008-03-10 23:38:54 +03:00
|
|
|
usb_webcam.media_addon
|
|
|
|
video_producer_demo.media_addon
|
|
|
|
video_window_demo.media_addon
|
2008-10-11 08:52:20 +04:00
|
|
|
firewire_dv.media_addon
|
2008-11-19 01:58:20 +03:00
|
|
|
#legacy.media_addon
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2010-09-22 15:10:51 +04:00
|
|
|
SYSTEM_ADD_ONS_MEDIA_PLUGINS = $(X86_ONLY)ffmpeg raw_decoder ;
|
2010-11-19 18:45:37 +03:00
|
|
|
SYSTEM_ADD_ONS_PRINT =
|
|
|
|
Canon\ LIPS3\ Compatible
|
2010-10-16 23:56:34 +04:00
|
|
|
Canon\ LIPS4\ Compatible
|
2010-10-30 22:05:09 +04:00
|
|
|
Gutenprint
|
2010-10-16 23:56:34 +04:00
|
|
|
PCL5\ Compatible
|
|
|
|
PCL6\ Compatible
|
|
|
|
PDF\ Writer
|
|
|
|
PS\ Compatible
|
|
|
|
Preview
|
2006-10-07 23:21:22 +04:00
|
|
|
;
|
2011-05-29 22:02:21 +04:00
|
|
|
SYSTEM_ADD_ONS_PRINT_TRANSPORT = HP\ JetDirect IPP LPR
|
2011-05-16 18:50:26 +04:00
|
|
|
# Parallel\ Port
|
2007-03-28 20:39:29 +04:00
|
|
|
Print\ To\ File Serial\ Port USB\ Port
|
2006-10-07 23:21:22 +04:00
|
|
|
;
|
2011-01-04 22:23:24 +03:00
|
|
|
SYSTEM_ADD_ONS_SCREENSAVERS = Butterfly DebugNow Flurry
|
2011-01-04 09:20:44 +03:00
|
|
|
$(HAIKU_INCLUDE_TRADEMARKS)Haiku Icons IFS Leaves Message Spider ;
|
2011-01-23 21:47:57 +03:00
|
|
|
SYSTEM_ADD_ONS_DRIVERS_AUDIO = auich auvia echo3g emuxki hda sis7018 ;
|
|
|
|
SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ; #cmedia usb_audio ;
|
2009-04-03 13:02:44 +04:00
|
|
|
SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = $(X86_ONLY)radeon $(X86_ONLY)nvidia
|
2007-06-21 14:14:11 +04:00
|
|
|
$(X86_ONLY)neomagic $(X86_ONLY)matrox $(X86_ONLY)intel_extreme
|
2008-06-11 01:53:00 +04:00
|
|
|
$(X86_ONLY)s3 $(X86_ONLY)vesa #$(X86_ONLY)via #$(X86_ONLY)vmware
|
2011-10-20 18:22:30 +04:00
|
|
|
$(X86_ONLY)ati $(X86_ONLY)3dfx $(X86_ONLY)radeon_hd
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2009-06-30 23:07:26 +04:00
|
|
|
SYSTEM_ADD_ONS_DRIVERS_MIDI = emuxki usb_midi ;
|
2010-04-20 22:44:54 +04:00
|
|
|
SYSTEM_ADD_ONS_DRIVERS_NET = $(X86_ONLY)3com $(X86_ONLY)atheros813x
|
|
|
|
$(X86_ONLY)ar81xx $(X86_ONLY)attansic_l1 $(X86_ONLY)attansic_l2
|
2011-07-09 03:00:38 +04:00
|
|
|
$(X86_ONLY)broadcom440x $(X86_ONLY)broadcom570x $(X86_ONLY)dec21xxx etherpci
|
2010-04-20 22:44:54 +04:00
|
|
|
$(X86_ONLY)ipro100 $(X86_ONLY)ipro1000 $(X86_ONLY)jmicron2x0
|
2011-06-24 19:37:51 +04:00
|
|
|
$(X86_ONLY)marvell_yukon $(X86_ONLY)nforce $(X86_ONLY)pcnet pegasus
|
2010-07-08 11:04:44 +04:00
|
|
|
$(X86_ONLY)rtl8139 $(X86_ONLY)rtl81xx sis900
|
2011-09-13 00:34:19 +04:00
|
|
|
$(X86_ONLY)syskonnect usb_davicom usb_asix usb_ecm $(X86_ONLY)via_rhine
|
2010-04-20 22:44:54 +04:00
|
|
|
$(X86_ONLY)vt612x wb840
|
2009-12-15 23:46:49 +03:00
|
|
|
|
2010-01-16 19:25:11 +03:00
|
|
|
# WLAN drivers
|
2010-03-01 03:43:13 +03:00
|
|
|
$(X86_ONLY)aironetwifi $(X86_ONLY)atheroswifi $(X86_ONLY)broadcom43xx
|
|
|
|
$(X86_ONLY)ipw2100 $(X86_ONLY)iprowifi2200 $(X86_ONLY)iprowifi3945
|
|
|
|
$(X86_ONLY)iprowifi4965 $(X86_ONLY)marvell88w8363 $(X86_ONLY)marvell88w8335
|
2010-10-24 00:34:26 +04:00
|
|
|
$(X86_ONLY)ralink2860 $(X86_ONLY)ralinkwifi $(X86_ONLY)wavelanwifi
|
2011-03-07 00:38:00 +03:00
|
|
|
|
2011-11-03 07:13:11 +04:00
|
|
|
# WWAN drivers
|
|
|
|
#$(GPL_ONLY)usb_beceemwmx
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2011-10-29 02:07:04 +04:00
|
|
|
SYSTEM_ADD_ONS_DRIVERS_POWER = $(X86_ONLY)acpi_button ;
|
2009-04-30 19:45:19 +04:00
|
|
|
SYSTEM_ADD_ONS_BUS_MANAGERS = $(ATA_ONLY)ata pci $(X86_ONLY)ps2 $(X86_ONLY)isa
|
|
|
|
$(IDE_ONLY)ide scsi config_manager agp_gart usb firewire $(X86_ONLY)acpi
|
2006-05-02 23:10:10 +04:00
|
|
|
;
|
2011-06-16 11:00:06 +04:00
|
|
|
SYSTEM_ADD_ONS_FILE_SYSTEMS = bfs bindfs btrfs cdda exfat ext2 fat iso9660 nfs
|
|
|
|
attribute_overlay write_overlay ntfs packagefs reiserfs udf googlefs ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2009-06-19 06:06:30 +04:00
|
|
|
|
2011-06-18 04:48:38 +04:00
|
|
|
# build the haiku system package and add it
|
2011-06-17 17:11:16 +04:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) HaikuPackages ] ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2011-06-18 04:48:38 +04:00
|
|
|
AddFilesToHaikuImage system packages : haiku.hpkg ;
|
|
|
|
|
2008-04-26 21:41:53 +04:00
|
|
|
|
2011-07-04 21:53:44 +04:00
|
|
|
AddSymlinkToHaikuImage . : /boot/common/apps ;
|
|
|
|
AddSymlinkToHaikuImage . : /boot/common/preferences ;
|
2005-11-27 01:29:29 +03:00
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
|
|
|
|
|
2009-09-20 03:33:20 +04:00
|
|
|
# Mailbox folders and symlink
|
2010-04-27 18:15:21 +04:00
|
|
|
AddDirectoryToHaikuImage home mail draft ;
|
2009-09-20 03:33:20 +04:00
|
|
|
AddDirectoryToHaikuImage home mail in ;
|
|
|
|
AddDirectoryToHaikuImage home mail out ;
|
|
|
|
|
2011-06-16 11:00:06 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings : deskbar : be ;
|
2007-06-09 16:07:55 +04:00
|
|
|
# Deskbar Application links
|
2011-06-16 11:00:06 +04:00
|
|
|
AddDirectoryToHaikuImage home config settings deskbar Applications ;
|
2009-03-31 19:00:40 +04:00
|
|
|
DESKBAR_APPLICATIONS = ActivityMonitor CharacterMap CodyCam CDPlayer DeskCalc
|
2009-10-18 21:59:07 +04:00
|
|
|
Devices DiskProbe DriveSetup DiskUsage Expander Icon-O-Matic Installer
|
2010-12-05 20:40:50 +03:00
|
|
|
Magnify Mail MediaConverter MediaPlayer MidiPlayer People PoorMan
|
|
|
|
Screenshot SoundRecorder StyledEdit Terminal TV
|
2008-04-18 19:26:39 +04:00
|
|
|
;
|
2009-03-27 14:55:52 +03:00
|
|
|
local linkTarget ;
|
|
|
|
for linkTarget in $(DESKBAR_APPLICATIONS) {
|
2011-06-16 11:00:06 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2009-04-03 13:02:44 +04:00
|
|
|
: /boot/system/apps/$(linkTarget) : $(linkTarget) ;
|
2008-04-18 19:26:39 +04:00
|
|
|
}
|
2007-06-09 16:07:55 +04:00
|
|
|
|
2010-01-13 13:49:58 +03:00
|
|
|
# Deskbar Desktop applets links
|
2011-06-16 11:00:06 +04:00
|
|
|
AddDirectoryToHaikuImage home config settings deskbar Desktop\ applets ;
|
2008-04-18 19:26:39 +04:00
|
|
|
DESKBAR_DESKTOP_APPLETS = LaunchBox NetworkStatus PowerStatus ProcessController
|
|
|
|
Workspaces
|
|
|
|
;
|
2009-03-27 14:55:52 +03:00
|
|
|
for linkTarget in $(DESKBAR_DESKTOP_APPLETS) {
|
2011-06-16 11:00:06 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Desktop\ applets
|
2009-04-03 13:02:44 +04:00
|
|
|
: /boot/system/apps/$(linkTarget) : $(linkTarget) ;
|
2008-04-18 19:26:39 +04:00
|
|
|
}
|
2007-06-09 16:07:55 +04:00
|
|
|
|
2009-03-27 14:55:52 +03:00
|
|
|
# Deskbar Preferences links
|
2011-06-16 11:00:06 +04:00
|
|
|
AddDirectoryToHaikuImage home config settings deskbar Preferences ;
|
2009-06-08 13:40:58 +04:00
|
|
|
DESKBAR_PREFERENCES = $(SYSTEM_PREFERENCES:B) ;
|
2009-03-27 14:55:52 +03:00
|
|
|
for linkTarget in $(DESKBAR_PREFERENCES) {
|
2011-06-16 11:00:06 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Preferences
|
|
|
|
: /boot/system/preferences/$(linkTarget)
|
|
|
|
: $(linkTarget) ;
|
2009-03-27 14:55:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
# Deskbar Demo links
|
2011-06-16 11:00:06 +04:00
|
|
|
AddDirectoryToHaikuImage home config settings deskbar Demos ;
|
2009-04-03 13:02:44 +04:00
|
|
|
for linkTarget in $(SYSTEM_DEMOS) {
|
2011-06-16 11:00:06 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Demos
|
2009-04-03 13:02:44 +04:00
|
|
|
: /boot/system/demos/$(linkTarget) : $(linkTarget) ;
|
2009-03-27 14:55:52 +03:00
|
|
|
}
|
2005-11-27 01:04:33 +03:00
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# scripts and data files
|
2009-08-20 23:21:18 +04:00
|
|
|
local userBootScripts = UserBootscript UserSetupEnvironment.sample ;
|
2009-03-31 13:21:31 +04:00
|
|
|
SEARCH on $(userBootScripts) = [ FDirName $(HAIKU_TOP) data config boot ] ;
|
|
|
|
AddFilesToHaikuImage home config boot : $(userBootScripts) ;
|
|
|
|
|
2009-08-20 23:21:18 +04:00
|
|
|
# Add boot launch directory
|
|
|
|
AddDirectoryToHaikuImage home config boot launch ;
|
2009-08-20 01:26:36 +04:00
|
|
|
|
2009-04-06 22:07:31 +04:00
|
|
|
# Add mail provider infos.
|
2009-10-12 01:06:59 +04:00
|
|
|
AddFilesToHaikuImage home config settings Mail ProviderInfo :
|
2009-09-19 02:23:34 +04:00
|
|
|
$(HAIKU_PROVIDER_INFOS) ;
|
2009-04-06 22:07:31 +04:00
|
|
|
|
2011-06-20 01:19:36 +04:00
|
|
|
local etcDir = [ FDirName $(HAIKU_TOP) data etc ] ;
|
2011-06-21 22:12:58 +04:00
|
|
|
local etcFiles = inputrc profile ;
|
2005-10-29 20:27:43 +04:00
|
|
|
etcFiles = $(etcFiles:G=etc) ;
|
2011-06-17 17:11:16 +04:00
|
|
|
SEARCH on $(etcFiles) = $(etcDir) ;
|
2008-06-19 18:32:25 +04:00
|
|
|
etcFiles += <etc>termcap <etc>sysless <etc>sysless.in ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddFilesToHaikuImage common settings etc : $(etcFiles) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2011-06-20 01:19:36 +04:00
|
|
|
local profileFiles = [ Glob $(etcDir)/profile.d : *.sh ] ;
|
|
|
|
profileFiles = $(profileFiles:G=profile-d) ;
|
2011-06-17 17:11:16 +04:00
|
|
|
AddDirectoryToHaikuImage common settings etc profile.d ;
|
|
|
|
AddFilesToHaikuImage common settings etc profile.d : $(profileFiles) ;
|
2011-06-20 01:19:36 +04:00
|
|
|
|
2011-06-21 22:12:58 +04:00
|
|
|
#local bashCompletionFiles = [ Glob $(etcDir)/bash_completion.d : * ] ;
|
|
|
|
#local bashCompletionHelperFiles
|
|
|
|
# = [ Glob $(etcDir)/bash_completion.d/helpers : * ] ;
|
|
|
|
#bashCompletionFiles = $(bashCompletionFiles:G=bash-completion) ;
|
|
|
|
#bashCompletionHelperFiles = $(bashCompletionHelperFiles:G=bash-completion-hlp) ;
|
|
|
|
#AddDirectoryToHaikuImage common etc bash_completion.d ;
|
|
|
|
#AddDirectoryToHaikuImage common etc bash_completion.d helpers ;
|
|
|
|
#AddFilesToHaikuImage common etc bash_completion.d : $(bashCompletionFiles) ;
|
|
|
|
#AddFilesToHaikuImage common etc bash_completion.d helpers
|
|
|
|
# : $(bashCompletionHelperFiles) ;
|
2011-06-20 01:19:36 +04:00
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
local driverSettingsFiles = <driver-settings>kernel ;
|
|
|
|
SEARCH on $(driverSettingsFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ;
|
|
|
|
AddFilesToHaikuImage home config settings kernel drivers
|
|
|
|
: $(driverSettingsFiles) ;
|
|
|
|
|
2007-07-05 02:26:42 +04:00
|
|
|
local networkSettingsFiles = <network-settings>services ;
|
|
|
|
SEARCH on $(networkSettingsFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) data settings network ] ;
|
2008-02-25 19:57:47 +03:00
|
|
|
AddFilesToHaikuImage common settings network : $(networkSettingsFiles) ;
|
2007-07-05 02:26:42 +04:00
|
|
|
|
2011-06-30 20:36:06 +04:00
|
|
|
# fresh install indicator file for the post install scripts
|
2008-05-07 02:47:38 +04:00
|
|
|
SEARCH on <post-install>fresh_install
|
|
|
|
= [ FDirName $(HAIKU_TOP) data common settings ] ;
|
|
|
|
AddFilesToHaikuImage common settings : <post-install>fresh_install ;
|
2008-03-06 01:25:33 +03:00
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
# boot loader
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system : haiku_loader ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2010-08-03 14:32:19 +04:00
|
|
|
# decorators
|
2010-09-13 07:52:26 +04:00
|
|
|
AddDirectoryToHaikuImage home config add-ons decorators ;
|
2011-07-27 02:18:55 +04:00
|
|
|
#AddFilesToHaikuImage home config add-ons decorators : ;
|
2010-08-03 14:32:19 +04:00
|
|
|
|
2009-01-14 17:26:23 +03:00
|
|
|
# create directories that will remain empty
|
2011-06-16 11:00:06 +04:00
|
|
|
AddDirectoryToHaikuImage common cache tmp ;
|
|
|
|
AddDirectoryToHaikuImage common non-packaged ;
|
|
|
|
AddDirectoryToHaikuImage common var empty ;
|
|
|
|
AddDirectoryToHaikuImage common var log ;
|
2009-01-14 17:26:23 +03:00
|
|
|
AddDirectoryToHaikuImage home Desktop ;
|
|
|
|
AddDirectoryToHaikuImage home config bin ;
|
|
|
|
AddDirectoryToHaikuImage home config lib ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddDirectoryToHaikuImage home config non-packaged ;
|
2009-01-14 17:26:23 +03:00
|
|
|
AddDirectoryToHaikuImage home mail ;
|
|
|
|
|
2008-11-05 19:17:33 +03:00
|
|
|
AddDirectoryToHaikuImage home config add-ons kernel drivers bin ;
|
|
|
|
AddDirectoryToHaikuImage home config add-ons kernel drivers dev ;
|
2008-09-04 22:44:01 +04:00
|
|
|
AddDirectoryToHaikuImage home config add-ons input_server devices ;
|
|
|
|
AddDirectoryToHaikuImage home config add-ons input_server filters ;
|
|
|
|
AddDirectoryToHaikuImage home config add-ons input_server methods ;
|
2010-09-07 14:19:35 +04:00
|
|
|
AddDirectoryToHaikuImage home config add-ons media plugins ;
|
2006-06-03 19:13:39 +04:00
|
|
|
AddDirectoryToHaikuImage home config add-ons Tracker ;
|
2009-10-10 18:58:54 +04:00
|
|
|
AddDirectoryToHaikuImage home config add-ons Print ;
|
2006-06-03 19:13:39 +04:00
|
|
|
AddDirectoryToHaikuImage home config add-ons Screen\ Savers ;
|
|
|
|
AddDirectoryToHaikuImage home config add-ons Translators ;
|
2006-09-18 16:25:36 +04:00
|
|
|
|
2007-07-28 11:17:23 +04:00
|
|
|
# printers
|
|
|
|
AddDirectoryToHaikuImage home config settings printers Preview
|
2009-06-20 12:44:54 +04:00
|
|
|
: home-config-settings-printers-preview.rdef ;
|
2007-07-31 20:36:28 +04:00
|
|
|
AddDirectoryToHaikuImage home config settings printers "Save as PDF"
|
2009-06-20 12:44:54 +04:00
|
|
|
: home-config-settings-printers-save-as-pdf.rdef ;
|
2007-07-28 11:17:23 +04:00
|
|
|
|
2010-12-18 00:54:06 +03:00
|
|
|
# dvb channel settings
|
|
|
|
CopyDirectoryToHaikuImage home config settings Media
|
|
|
|
: [ FDirName $(HAIKU_TOP) data settings media dvb ]
|
|
|
|
: dvb : -x .svn -x Jamfile ;
|
|
|
|
|
2010-03-30 21:59:56 +04:00
|
|
|
# Copy sample programs as per PDFlib Lite's license requirement.
|
|
|
|
CopyDirectoryToHaikuImage develop sample-code
|
|
|
|
: [ FDirName $(HAIKU_TOP) src libs pdflib bind pdflib ]
|
|
|
|
: pdflib : -x .svn ;
|
2007-07-28 11:17:23 +04:00
|
|
|
|
2009-05-27 05:12:34 +04:00
|
|
|
#pragma mark - Optional Packages
|
|
|
|
|
|
|
|
|
|
|
|
HAIKU_IMAGE_OPTIONAL_PACKAGE_DESCRIPTIONS = ;
|
|
|
|
|
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalPackages ] ;
|
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalTestPackages ] ;
|
2010-10-30 11:22:17 +04:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalLibPackages ] ;
|
2009-05-27 05:12:34 +04:00
|
|
|
|
|
|
|
local optionalPackageDescriptions ;
|
|
|
|
if $(HAIKU_IMAGE_OPTIONAL_PACKAGE_DESCRIPTIONS) {
|
|
|
|
optionalPackageDescriptions = <haiku-image>optional_package_descriptions ;
|
|
|
|
MakeLocate $(optionalPackageDescriptions)
|
|
|
|
: $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) ;
|
|
|
|
|
|
|
|
Depends $(optionalPackageDescriptions)
|
|
|
|
: $(HAIKU_IMAGE_OPTIONAL_PACKAGE_DESCRIPTIONS) ;
|
|
|
|
|
|
|
|
actions together BuildOptionalPackageDescriptions
|
|
|
|
{
|
|
|
|
cat $(2) > $(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
BuildOptionalPackageDescriptions $(optionalPackageDescriptions)
|
|
|
|
: $(HAIKU_IMAGE_OPTIONAL_PACKAGE_DESCRIPTIONS) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-04-02 18:02:52 +04:00
|
|
|
#pragma mark - User/Group Setup
|
|
|
|
|
|
|
|
|
|
|
|
# add the root user and the root and users groups
|
|
|
|
AddUserToHaikuImage $(HAIKU_ROOT_USER_NAME:E=baron) : 0 : 0 : /boot/home
|
|
|
|
: /bin/bash : $(HAIKU_ROOT_USER_REAL_NAME:E="Root User") ;
|
|
|
|
AddGroupToHaikuImage root : 0 : ;
|
|
|
|
AddGroupToHaikuImage users : 100 : ;
|
|
|
|
|
|
|
|
|
2008-04-20 18:00:31 +04:00
|
|
|
#pragma mark - Host Name
|
|
|
|
|
|
|
|
|
|
|
|
if $(HAIKU_IMAGE_HOST_NAME) {
|
|
|
|
actions BuildHaikuImageHostnameFile
|
|
|
|
{
|
2008-05-26 20:52:27 +04:00
|
|
|
echo "$(HAIKU_IMAGE_HOST_NAME)" > $(1)
|
2008-04-20 18:00:31 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
local file = <haiku-image>hostname ;
|
|
|
|
Always $(file) ;
|
|
|
|
MakeLocate $(file) : $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) ;
|
|
|
|
BuildHaikuImageHostnameFile $(file) ;
|
|
|
|
AddFilesToHaikuImage common settings network : $(file) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-01-27 15:54:10 +03:00
|
|
|
#pragma mark - Build The Image
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2007-09-05 22:36:17 +04:00
|
|
|
|
2008-12-03 05:02:28 +03:00
|
|
|
# Execute pre-image user config rules.
|
|
|
|
UserBuildConfigRulePreImage ;
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
# Set image name and directory defaults and locate the image.
|
2008-04-03 00:29:43 +04:00
|
|
|
HAIKU_IMAGE_NAME ?= $(HAIKU_DEFAULT_IMAGE_NAME) ;
|
|
|
|
HAIKU_IMAGE_DIR ?= $(HAIKU_DEFAULT_IMAGE_DIR) ;
|
|
|
|
HAIKU_IMAGE = $(HAIKU_IMAGE_NAME) ;
|
2011-08-25 01:04:55 +04:00
|
|
|
HAIKU_IMAGE_SIZE ?= $(HAIKU_DEFAULT_IMAGE_SIZE) ; # 300 MB
|
2008-10-13 05:48:00 +04:00
|
|
|
HAIKU_IMAGE_LABEL ?= $(HAIKU_DEFAULT_IMAGE_LABEL) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
MakeLocate $(HAIKU_IMAGE) : $(HAIKU_IMAGE_DIR) ;
|
|
|
|
|
|
|
|
# Set the default installation directory.
|
2008-04-03 00:29:43 +04:00
|
|
|
HAIKU_INSTALL_DIR ?= $(HAIKU_DEFAULT_INSTALL_DIR) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# the pseudo target all image contents is attached to
|
2007-07-11 05:04:35 +04:00
|
|
|
NotFile $(HAIKU_IMAGE_CONTAINER_NAME) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# prepare the script that initializes the shell variables
|
|
|
|
HAIKU_IMAGE_INIT_VARIABLES_SCRIPT = <HaikuImage>haiku.image-init-vars ;
|
|
|
|
local script = $(HAIKU_IMAGE_INIT_VARIABLES_SCRIPT) ;
|
|
|
|
MakeLocate $(script) : $(HAIKU_OUTPUT_DIR) ;
|
|
|
|
Always $(script) ;
|
|
|
|
|
|
|
|
AddVariableToScript $(script) : sourceDir : $(HAIKU_TOP) ;
|
|
|
|
AddVariableToScript $(script) : outputDir : $(HAIKU_OUTPUT_DIR) ;
|
|
|
|
AddVariableToScript $(script) : tmpDir : $(HAIKU_TMP_DIR) ;
|
|
|
|
AddVariableToScript $(script) : installDir : $(HAIKU_INSTALL_DIR) ;
|
|
|
|
#AddVariableToScript $(script) : isImage : 1 ;
|
|
|
|
AddVariableToScript $(script) : imageSize : $(HAIKU_IMAGE_SIZE) ;
|
2008-09-19 21:32:57 +04:00
|
|
|
AddVariableToScript $(script) : imageLabel : $(HAIKU_IMAGE_LABEL) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddVariableToScript $(script) : addBuildCompatibilityLibDir
|
|
|
|
: $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) ;
|
2007-10-01 21:27:13 +04:00
|
|
|
AddVariableToScript $(script) : dontClearImage : $(HAIKU_DONT_CLEAR_IMAGE) ;
|
2007-07-18 03:37:40 +04:00
|
|
|
AddVariableToScript $(script) : updateOnly : [ IsUpdateHaikuImageOnly ] ;
|
2011-05-29 22:02:21 +04:00
|
|
|
AddVariableToScript $(script) : stripOptionalPackageDebugSymbols
|
|
|
|
: $(HAIKU_STRIP_DEBUG_FROM_OPTIONAL_PACKAGES) ;
|
2008-04-19 19:55:54 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>addattr ;
|
2007-05-02 18:12:04 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>bfs_shell : bfsShell ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>fs_shell_command : fsShellCommand ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>copyattr ;
|
2009-04-12 13:18:18 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>create_image : createImage ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>makebootable ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>rc ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>resattr ;
|
2007-09-05 01:50:00 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>unzip ;
|
2008-04-04 01:18:18 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>vmdkimage ;
|
* BuildPlatformMain supports overriding HOST_LIBROOT on the target now,
so one can set it to the static libroot, if desired.
* Generic attribute emulation:
- Added build tool rm_attrs, a simple "rm" replacement, which also
removes the attributes directory for a given file.
- Added build/scripts/rm_attrs shell script, which wraps the
invocation of the rm_attrs tool. If it doesn't exist yet, the
ordinary rm is used.
- The RM jam variable refers to the rm_attrs script now, i.e. whenever
something is removed by the build system, the attributes are removed
too (if the build tool has already been built, that is).
- Removed the shell function attrrmrf() in build_haiku_image. We use
the rm_attrs tool instead, if necessary.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-23 00:05:03 +03:00
|
|
|
if $(HOST_RM_ATTRS_TARGET) {
|
|
|
|
AddTargetVariableToScript $(script) : $(HOST_RM_ATTRS_TARGET) : rmAttrs ;
|
|
|
|
} else {
|
|
|
|
AddVariableToScript $(script) : rmAttrs : rm ;
|
|
|
|
}
|
2008-05-04 20:06:41 +04:00
|
|
|
if $(optionalPackageDescriptions) {
|
|
|
|
AddTargetVariableToScript $(script) : $(optionalPackageDescriptions)
|
|
|
|
: optionalPackageDescriptions ;
|
|
|
|
}
|
* BuildPlatformMain supports overriding HOST_LIBROOT on the target now,
so one can set it to the static libroot, if desired.
* Generic attribute emulation:
- Added build tool rm_attrs, a simple "rm" replacement, which also
removes the attributes directory for a given file.
- Added build/scripts/rm_attrs shell script, which wraps the
invocation of the rm_attrs tool. If it doesn't exist yet, the
ordinary rm is used.
- The RM jam variable refers to the rm_attrs script now, i.e. whenever
something is removed by the build system, the attributes are removed
too (if the build tool has already been built, that is).
- Removed the shell function attrrmrf() in build_haiku_image. We use
the rm_attrs tool instead, if necessary.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-23 00:05:03 +03:00
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# create the other scripts
|
|
|
|
HAIKU_IMAGE_MAKE_DIRS_SCRIPT = <HaikuImage>haiku.image-make-dirs ;
|
|
|
|
HAIKU_IMAGE_COPY_FILES_SCRIPT = <HaikuImage>haiku.image-copy-files ;
|
2010-02-27 20:48:12 +03:00
|
|
|
HAIKU_IMAGE_EXTRACT_FILES_SCRIPT = <HaikuImage>haiku.image-extract-files ;
|
2005-10-29 20:27:43 +04:00
|
|
|
MakeLocate $(HAIKU_IMAGE_MAKE_DIRS_SCRIPT) $(HAIKU_IMAGE_COPY_FILES_SCRIPT)
|
2010-02-27 20:48:12 +03:00
|
|
|
$(HAIKU_IMAGE_EXTRACT_FILES_SCRIPT) : $(HAIKU_OUTPUT_DIR) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
CreateHaikuImageMakeDirectoriesScript $(HAIKU_IMAGE_MAKE_DIRS_SCRIPT) ;
|
|
|
|
CreateHaikuImageCopyFilesScript $(HAIKU_IMAGE_COPY_FILES_SCRIPT) ;
|
2010-02-27 20:48:12 +03:00
|
|
|
CreateHaikuImageExtractFilesScript $(HAIKU_IMAGE_EXTRACT_FILES_SCRIPT) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# Convenience wrapper rule around BuildHaikuImage.
|
2008-02-17 16:54:32 +03:00
|
|
|
rule _BuildHaikuImage image : isImage : isVMwareImage
|
2005-10-29 20:27:43 +04:00
|
|
|
{
|
2008-02-17 16:54:32 +03:00
|
|
|
# _BuildHaikuImage <image target> : <isImage> : <isVMwareImage> ;
|
2005-10-29 20:27:43 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# build the image
|
|
|
|
# HAIKU_IMAGE_EARLY_USER_SCRIPTS, HAIKU_IMAGE_LATE_USER_SCRIPTS can be
|
|
|
|
# specified by the user.
|
|
|
|
BuildHaikuImage $(image) :
|
|
|
|
$(HAIKU_IMAGE_INIT_VARIABLES_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_EARLY_USER_SCRIPTS)
|
|
|
|
$(HAIKU_IMAGE_MAKE_DIRS_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_COPY_FILES_SCRIPT)
|
2010-02-27 20:48:12 +03:00
|
|
|
$(HAIKU_IMAGE_EXTRACT_FILES_SCRIPT)
|
2005-10-29 20:27:43 +04:00
|
|
|
$(HAIKU_IMAGE_LATE_USER_SCRIPTS)
|
|
|
|
: $(isImage)
|
2008-02-17 16:54:32 +03:00
|
|
|
: $(isVMwareImage)
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
# remove the scripts we have generated
|
|
|
|
RmTemps $(image) :
|
|
|
|
$(HAIKU_IMAGE_INIT_VARIABLES_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_MAKE_DIRS_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_COPY_FILES_SCRIPT)
|
2010-02-27 20:48:12 +03:00
|
|
|
$(HAIKU_IMAGE_EXTRACT_FILES_SCRIPT)
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
# build the image
|
|
|
|
_BuildHaikuImage $(HAIKU_IMAGE) : true ;
|
|
|
|
NotFile haiku-image ;
|
|
|
|
Depends haiku-image : $(HAIKU_IMAGE) ;
|
|
|
|
|
2008-02-17 16:54:32 +03:00
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
# install Haiku into a directory
|
|
|
|
NotFile install-haiku ;
|
|
|
|
_BuildHaikuImage install-haiku : 0 ;
|
2007-01-27 15:54:10 +03:00
|
|
|
|
|
|
|
|
2008-02-17 16:54:32 +03:00
|
|
|
# build the VMware image
|
2008-04-03 00:29:43 +04:00
|
|
|
HAIKU_VMWARE_IMAGE_NAME ?= $(HAIKU_DEFAULT_VMWARE_IMAGE_NAME) ;
|
|
|
|
HAIKU_VMWARE_IMAGE = $(HAIKU_VMWARE_IMAGE_NAME) ;
|
2007-01-27 15:54:10 +03:00
|
|
|
MakeLocate $(HAIKU_VMWARE_IMAGE) : $(HAIKU_IMAGE_DIR) ;
|
|
|
|
|
2008-02-17 16:54:32 +03:00
|
|
|
_BuildHaikuImage $(HAIKU_VMWARE_IMAGE) : true : true ;
|
2007-01-27 15:54:10 +03:00
|
|
|
NotFile haiku-vmware-image ;
|
|
|
|
Depends haiku-vmware-image : $(HAIKU_VMWARE_IMAGE) ;
|
2008-12-03 05:02:28 +03:00
|
|
|
|
|
|
|
# Execute post-image user config rules.
|
|
|
|
UserBuildConfigRulePostImage ;
|