2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# create directories that will remain empty
|
|
|
|
AddDirectoryToHaikuImage home Desktop ;
|
|
|
|
AddDirectoryToHaikuImage var log ;
|
|
|
|
AddDirectoryToHaikuImage var tmp ;
|
|
|
|
|
2006-01-07 23:29:50 +03:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
X86_ONLY = "" ;
|
2006-02-07 05:42:38 +03:00
|
|
|
PPC_ONLY = ;
|
2006-01-07 23:29:50 +03:00
|
|
|
} else if $(TARGET_ARCH) = ppc {
|
|
|
|
X86_ONLY = ;
|
2006-02-07 05:42:38 +03:00
|
|
|
PPC_ONLY = "" ;
|
2006-01-07 23:29:50 +03:00
|
|
|
}
|
|
|
|
|
2006-01-12 22:45:53 +03:00
|
|
|
BEOS_BIN = addattr alert arp basename beep cat catattr chgrp chmod chop chown clear
|
|
|
|
clockconfig cmp comm cp copyattr csplit cut date dd desklink df diff dirname dstcheck
|
2006-01-17 17:49:50 +03:00
|
|
|
du echo eject env error factor false ffm find finddir fortune funzip gawk $(X86_ONLY)gdb
|
2006-02-09 20:01:23 +03:00
|
|
|
grep groups gzip head id ifconfig iroster isvolume join keymap kill less lessecho
|
|
|
|
lesskey link listarea listattr listdev listimage listport listres listsem
|
2006-01-24 19:33:34 +03:00
|
|
|
ln locate logger logname ls lsindex makebootable md5sum mimeset mkdir mkindex
|
2006-01-17 17:49:50 +03:00
|
|
|
modifiers mount mountvolume mv open pathchk ping play ppp_up pppconfig ps pwd
|
|
|
|
query quit renice rm rmattr rmindex rmdir roster safemode screen_blanker sed settype
|
|
|
|
setversion setvolume sh shutdown sleep sort split strace su sum sync sysinfo
|
|
|
|
tail tar tee top touch tput traceroute translate true tty uname unmount unzip unzipsfx
|
|
|
|
uptime version waitfor wc whoami xargs xres yes zdiff zforce zgrep zip zipcloak
|
|
|
|
zipnote zipsplit zmore znew
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
2006-01-03 17:50:39 +03:00
|
|
|
BEOS_APPS = Terminal Expander People ShowImage Clock Pulse
|
2005-10-29 20:27:43 +04:00
|
|
|
Playground SoundRecorder BitmapDrawing Magnify DiskProbe AboutHaiku
|
2006-02-16 19:32:50 +03:00
|
|
|
StyledEdit Chart Workspaces
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
BEOS_PREFERENCES = Backgrounds DataTranslations FileTypes Fonts Media Menu
|
|
|
|
Mouse Keyboard Keymap Screen ScrollBar Sounds Time VirtualMemory
|
2006-02-16 19:32:50 +03:00
|
|
|
ScreenSaver
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2005-11-13 01:58:54 +03:00
|
|
|
BEOS_SYSTEM_LIB = libbe.so $(HAIKU_LIBSTDC++) libnet.so libmedia.so libtracker.so
|
2006-02-13 14:52:55 +03:00
|
|
|
libtranslation.so libnetwork.so libbind.so libnetapi.so libsocket.so libdebug.so
|
2005-11-17 12:04:03 +03:00
|
|
|
libtextencoding.so libz.so libfreetype.so libpng.so libmidi.so libmidi2.so
|
2005-10-29 20:27:43 +04:00
|
|
|
libdevice.so libgame.so libscreensaver.so libroot.so
|
|
|
|
;
|
|
|
|
BEOS_SYSTEM_SERVERS = registrar debug_server syslog_daemon media_server
|
2005-11-17 12:04:03 +03:00
|
|
|
media_addon_server input_server app_server fake_app_server midi_server
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
BEOS_NETWORK_CORE = core ;
|
|
|
|
BEOS_NETWORK_INTERFACES = ethernet loopback ppp ;
|
|
|
|
BEOS_NETWORK_PPP = ipcp modem pap pppoe ;
|
|
|
|
BEOS_NETWORK_PROTOCOLS = icmp ipv4 raw route tcp udp ;
|
|
|
|
|
2006-01-07 23:29:50 +03:00
|
|
|
BEOS_ADD_ONS_ACCELERANTS = $(X86_ONLY)radeon.accelerant $(X86_ONLY)nv.accelerant
|
|
|
|
mga.accelerant nm.accelerant vesa.accelerant
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
BEOS_ADD_ONS_TRANSLATORS = STXTTranslator RTF-Translator PNGTranslator
|
2006-02-19 19:12:40 +03:00
|
|
|
JPEGTranslator JPEG2000Translator GIFTranslator BMPTranslator
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
BEOS_ADD_ONS_MEDIA = mixer.media_addon legacy.media_addon
|
|
|
|
multi_audio.media_addon
|
|
|
|
;
|
2005-11-13 01:58:54 +03:00
|
|
|
BEOS_ADD_ONS_MEDIA_PLUGINS = aiff_reader mp3_decoder musepack
|
2005-10-29 20:27:43 +04:00
|
|
|
raw_decoder wav_reader mov_reader au_reader avi_reader mp3_reader ogg
|
2005-11-29 00:11:58 +03:00
|
|
|
speex vorbis matroska
|
|
|
|
# ac3_decoder avcodec theora
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
BEOS_ADD_ONS_SCREENSAVERS = Haiku ;
|
|
|
|
BEOS_ADD_ONS_DRIVERS_AUDIO = ich_ac97 auvia emuxki ;
|
2006-01-07 23:29:50 +03:00
|
|
|
BEOS_ADD_ONS_DRIVERS_GRAPHICS = $(X86_ONLY)radeon.driver $(X86_ONLY)nv.driver
|
|
|
|
nm.driver mga.driver vesa
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
BEOS_ADD_ONS_DRIVERS_NET = ipro1000 rtl8139 rtl8169 sis900
|
|
|
|
via-rhine wb840 net_stack_driver
|
|
|
|
# bcm440x bcm570x (only available with GPLd add-ons)
|
|
|
|
;
|
2006-02-22 16:36:08 +03:00
|
|
|
BEOS_ADD_ONS_DRIVERS_ACPI = $(X86_ONLY)acpi_button $(X86_ONLY)acpi_ns_dump ;
|
|
|
|
BEOS_ADD_ONS_BUS_MANAGERS = pci $(X86_ONLY)ps2 $(X86_ONLY)isa ide scsi config_manager $(X86_ONLY)acpi ;
|
2005-10-29 20:27:43 +04:00
|
|
|
BEOS_ADD_ONS_FILESYSTEMS = bfs ;
|
|
|
|
|
|
|
|
|
|
|
|
# modules
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel bus_managers
|
|
|
|
: $(BEOS_ADD_ONS_BUS_MANAGERS) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel busses ide
|
2006-01-07 23:29:50 +03:00
|
|
|
: generic_ide_pci $(X86_ONLY)ide_isa
|
|
|
|
;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel console : vga_text ;
|
2006-02-27 16:25:24 +03:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel file_systems : $(BEOS_ADD_ONS_FILESYSTEMS) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel generic
|
|
|
|
: block_io fast_log ide_adapter locked_pool scsi_periph ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel partitioning_systems : intel ;
|
2006-02-07 05:42:38 +03:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel interrupt_controllers
|
|
|
|
: $(PPC_ONLY)openpic ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2005-12-12 20:20:32 +03:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel cpu : generic_x86 ;
|
|
|
|
}
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
# drivers
|
2006-01-07 23:29:50 +03:00
|
|
|
AddDriversToHaikuImage : console dprintf $(X86_ONLY)keyboard null
|
|
|
|
random <driver>tty zero ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddDriversToHaikuImage audio multi : $(BEOS_ADD_ONS_DRIVERS_AUDIO) ;
|
|
|
|
AddDriversToHaikuImage disk scsi : scsi_cd scsi_dsk ;
|
|
|
|
AddDriversToHaikuImage graphics : $(BEOS_ADD_ONS_DRIVERS_GRAPHICS) ;
|
|
|
|
AddDriversToHaikuImage input : ps2_hid ;
|
|
|
|
AddDriversToHaikuImage misc : <driver>config ;
|
|
|
|
AddDriversToHaikuImage net : $(BEOS_ADD_ONS_DRIVERS_NET) ;
|
2006-02-22 16:36:08 +03:00
|
|
|
AddDriversToHaikuImage power : $(BEOS_ADD_ONS_DRIVERS_ACPI) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# kernel
|
|
|
|
AddFilesToHaikuImage beos system : kernel_$(TARGET_ARCH) ;
|
|
|
|
|
|
|
|
# libs
|
|
|
|
AddFilesToHaikuImage beos system lib : $(BEOS_SYSTEM_LIB) rld.so ;
|
|
|
|
|
|
|
|
# servers
|
|
|
|
AddFilesToHaikuImage beos system servers : $(BEOS_SYSTEM_SERVERS) ;
|
|
|
|
|
|
|
|
# apps
|
2005-10-31 01:27:52 +03:00
|
|
|
AddFilesToHaikuImage beos system : Deskbar Tracker ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos bin : $(BEOS_BIN) consoled <bin>route ;
|
|
|
|
AddFilesToHaikuImage beos apps : $(BEOS_APPS) ;
|
|
|
|
AddFilesToHaikuImage beos preferences : $(BEOS_PREFERENCES) ;
|
|
|
|
|
2005-11-27 01:29:29 +03:00
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
|
|
|
|
|
2005-11-27 01:04:33 +03:00
|
|
|
AddSymlinkToHaikuImage home config be : /boot/beos/apps : Applications ;
|
|
|
|
AddSymlinkToHaikuImage home config be : /boot/beos/preferences : Preferences ;
|
|
|
|
|
|
|
|
AddSymlinkToHaikuImage beos bin : less : more ;
|
2006-01-17 17:49:50 +03:00
|
|
|
AddSymlinkToHaikuImage beos bin : gzip : gunzip ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : gzip : zcat ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : zdiff : zcmp ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : unzip : zipinfo ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
|
|
|
|
# scripts and data files
|
2006-01-26 00:43:58 +03:00
|
|
|
local bootScripts = Bootscript SetupEnvironment Netscript InstallerInitScript InstallerFinishScript ;
|
2005-10-29 20:27:43 +04:00
|
|
|
SEARCH on $(bootScripts) = [ FDirName $(HAIKU_TOP) data system boot ] ;
|
|
|
|
AddFilesToHaikuImage beos system boot : $(bootScripts) ;
|
|
|
|
|
|
|
|
# TODO: Use data/etc/termcap or src/libs/termcap.src?
|
|
|
|
local etcFiles = fortunes profile termcap ;
|
|
|
|
etcFiles = $(etcFiles:G=etc) ;
|
|
|
|
SEARCH on $(etcFiles) = [ FDirName $(HAIKU_TOP) data etc ] ;
|
|
|
|
AddFilesToHaikuImage beos etc : $(etcFiles) ;
|
|
|
|
|
|
|
|
local fontDir = [ FDirName $(HAIKU_TOP) data etc fonts ] ;
|
|
|
|
local psFonts = [ Glob $(fontDir)/psfonts : *.afm *.pfb ] ;
|
|
|
|
local ttFonts = [ Glob $(fontDir)/ttfonts : *.ttf ] ;
|
|
|
|
AddFilesToHaikuImage beos etc fonts psfonts : $(psFonts) ;
|
|
|
|
AddFilesToHaikuImage beos etc fonts ttfonts : $(ttFonts) ;
|
|
|
|
|
|
|
|
local kanbeDir = [ FDirName $(HAIKU_TOP) data etc KanBe ] ;
|
|
|
|
local kanbeDefault = [ Glob $(kanbeDir)/default : *.canna *.gz ] ;
|
|
|
|
local kanbeDic = [ Glob $(kanbeDir)/dic : *.cbp ] ;
|
|
|
|
local kanbeDicCanna = [ Glob $(kanbeDir)/dic/canna
|
|
|
|
: *.cld *.ctd *.cbd *.dir ] ;
|
|
|
|
AddFilesToHaikuImage beos etc KanBe default : $(kanbeDefault) ;
|
|
|
|
AddFilesToHaikuImage beos etc KanBe dic : $(kanbeDic) ;
|
|
|
|
AddFilesToHaikuImage beos etc KanBe dic canna : $(kanbeDicCanna) ;
|
|
|
|
AddDirectoryToHaikuImage beos etc KanBe dic group ;
|
|
|
|
AddDirectoryToHaikuImage beos etc KanBe dic user ;
|
|
|
|
|
|
|
|
local libnetFiles = networks protocols resolv.conf services ;
|
|
|
|
libnetFiles = $(libnetFiles:G=libnet-files) ;
|
2005-11-27 02:16:20 +03:00
|
|
|
SEARCH on $(libnetFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) src kits network compat libnet ] ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos etc : $(libnetFiles) ;
|
|
|
|
|
2005-11-09 20:20:23 +03:00
|
|
|
local keymapFiles = [ GLOB [ FDirName $(HAIKU_TOP) src data etc keymaps ] : *.keymap ] ;
|
2005-10-29 20:27:43 +04:00
|
|
|
keymapFiles = $(keymapFiles:BG=keymap) ;
|
2005-11-05 02:55:39 +03:00
|
|
|
AddFilesToHaikuImage beos etc Keymap : $(keymapFiles) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
local timezones = [ FTimeZoneBinaries $(HAIKU_TIME_ZONE_SOURCES) : : true ] ;
|
|
|
|
for timezone in $(timezones) {
|
|
|
|
local dir = [ on $(timezone) return $(RELATIVE_TIMEZONE_DIR) ] ;
|
|
|
|
AddFilesToHaikuImage beos etc timezones $(dir) : $(timezone) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
local driverSettingsFiles = <driver-settings>kernel ;
|
|
|
|
SEARCH on $(driverSettingsFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ;
|
|
|
|
AddFilesToHaikuImage home config settings kernel drivers
|
|
|
|
: $(driverSettingsFiles) ;
|
|
|
|
|
|
|
|
AddSymlinkToHaikuImage home config settings
|
|
|
|
: /boot/beos/etc/timezones/Europe/Paris : timezone ;
|
|
|
|
|
2005-11-16 20:11:44 +03:00
|
|
|
AddFilesToHaikuImage home config settings : <keymap>US-International : Key_map ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# boot loader
|
|
|
|
AddFilesToHaikuImage beos system : zbeos ;
|
|
|
|
|
|
|
|
# boot module links
|
2006-01-07 23:29:50 +03:00
|
|
|
AddBootModuleSymlinks config_manager bfs block_io fast_log generic_ide_pci
|
2006-02-07 05:42:38 +03:00
|
|
|
$(X86_ONLY)isa ide ide_adapter $(X86_ONLY)ide_isa intel locked_pool
|
|
|
|
$(PPC_ONLY)openpic pci scsi scsi_cd scsi_dsk scsi_periph
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
# add-ons
|
|
|
|
AddFilesToHaikuImage beos system add-ons accelerants
|
|
|
|
: $(BEOS_ADD_ONS_ACCELERANTS) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons Translators
|
|
|
|
: $(BEOS_ADD_ONS_TRANSLATORS) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons media : $(BEOS_ADD_ONS_MEDIA) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons media plugins
|
|
|
|
: $(BEOS_ADD_ONS_MEDIA_PLUGINS) ;
|
2006-02-07 19:50:27 +03:00
|
|
|
AddFilesToHaikuImage beos system add-ons Tracker : FileType-F ZipOMatic-Z ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons input_server devices
|
|
|
|
: <input>keyboard <input>mouse ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons input_server filters : screen_saver ;
|
2006-02-07 19:50:27 +03:00
|
|
|
# AddFilesToHaikuImage beos system add-ons input_server methods : canna ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel network
|
|
|
|
: $(BEOS_NETWORK_CORE) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel network interfaces
|
|
|
|
: $(BEOS_NETWORK_INTERFACES) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel network ppp
|
|
|
|
: $(BEOS_NETWORK_PPP) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel network protocols
|
|
|
|
: $(BEOS_NETWORK_PROTOCOLS) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons Screen\ Savers
|
|
|
|
: $(BEOS_ADD_ONS_SCREENSAVERS) ;
|
|
|
|
|
|
|
|
|
|
|
|
#pragma mark -
|
|
|
|
|
|
|
|
# Set image name and directory defaults and locate the image.
|
|
|
|
HAIKU_IMAGE_NAME ?= haiku.image ;
|
|
|
|
HAIKU_IMAGE_DIR ?= $(HAIKU_OUTPUT_DIR) ;
|
|
|
|
HAIKU_IMAGE ?= $(HAIKU_IMAGE_NAME) ;
|
|
|
|
HAIKU_IMAGE_SIZE ?= 80 ; # 80 MB
|
|
|
|
MakeLocate $(HAIKU_IMAGE) : $(HAIKU_IMAGE_DIR) ;
|
|
|
|
|
|
|
|
# Set the default installation directory.
|
2005-10-31 01:27:52 +03:00
|
|
|
HAIKU_INSTALL_DIR ?= /Haiku ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# the pseudo target all image contents is attached to
|
|
|
|
NotFile haiku-image-contents ;
|
|
|
|
|
|
|
|
# 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) ;
|
|
|
|
AddVariableToScript $(script) : addBuildCompatibilityLibDir
|
|
|
|
: $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) ;
|
|
|
|
AddTargetVariableToScript $(script) : bfs_shell : bfsShell ;
|
|
|
|
AddTargetVariableToScript $(script) : fs_shell_command : fsShellCommand ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>copyattr ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>makebootable ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>rc ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>resattr ;
|
|
|
|
#AddTargetVariableToScript $(script) : $(HAIKU_IMAGE) : imagePath ;
|
|
|
|
# causes a cyclic dependency
|
|
|
|
AddVariableToScript $(script) : imagePath
|
|
|
|
: [ FDirName $(HAIKU_IMAGE_DIR) $(HAIKU_IMAGE_NAME) ] ;
|
|
|
|
|
|
|
|
# create the other scripts
|
|
|
|
HAIKU_IMAGE_MAKE_DIRS_SCRIPT = <HaikuImage>haiku.image-make-dirs ;
|
|
|
|
HAIKU_IMAGE_COPY_FILES_SCRIPT = <HaikuImage>haiku.image-copy-files ;
|
|
|
|
MakeLocate $(HAIKU_IMAGE_MAKE_DIRS_SCRIPT) $(HAIKU_IMAGE_COPY_FILES_SCRIPT)
|
|
|
|
: $(HAIKU_OUTPUT_DIR) ;
|
|
|
|
|
|
|
|
CreateHaikuImageMakeDirectoriesScript $(HAIKU_IMAGE_MAKE_DIRS_SCRIPT) ;
|
|
|
|
CreateHaikuImageCopyFilesScript $(HAIKU_IMAGE_COPY_FILES_SCRIPT) ;
|
|
|
|
|
|
|
|
# Convenience wrapper rule around BuildHaikuImage.
|
|
|
|
rule _BuildHaikuImage
|
|
|
|
{
|
|
|
|
# _BuildHaikuImage <image target> : <isImage> ;
|
|
|
|
#
|
|
|
|
local image = $(1) ;
|
|
|
|
local isImage = $(2) ;
|
|
|
|
|
|
|
|
# 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)
|
|
|
|
$(HAIKU_IMAGE_LATE_USER_SCRIPTS)
|
|
|
|
: $(isImage)
|
|
|
|
;
|
|
|
|
|
|
|
|
# remove the scripts we have generated
|
|
|
|
RmTemps $(image) :
|
|
|
|
$(HAIKU_IMAGE_INIT_VARIABLES_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_MAKE_DIRS_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_COPY_FILES_SCRIPT)
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
# build the image
|
|
|
|
_BuildHaikuImage $(HAIKU_IMAGE) : true ;
|
|
|
|
NotFile haiku-image ;
|
|
|
|
Depends haiku-image : $(HAIKU_IMAGE) ;
|
|
|
|
|
|
|
|
# install Haiku into a directory
|
|
|
|
NotFile install-haiku ;
|
|
|
|
_BuildHaikuImage install-haiku : 0 ;
|