* Changed Ld rule to allow adding resource files.
* Changed ResAttr rule to allow not deleting the file before writing the attributes. * Added application signatures for the runtime_loader and zbeos, just so that they may have an icon, too (hint, hint) :-) * As a side effect, this also let's FileTypes handle these two as apps (even though they aren't), so that I can close bug #606. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22412 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -30,6 +30,8 @@ if $(TARGET_ARCH) = x86 {
|
||||
platformObjects += <src!system!kernel!arch!$(TARGET_ARCH)>cpuid.o ;
|
||||
}
|
||||
|
||||
AddResources zbeos : boot_loader.rdef ;
|
||||
|
||||
KernelLd boot_loader_$(TARGET_BOOT_PLATFORM) :
|
||||
boot_platform_$(TARGET_BOOT_PLATFORM).o
|
||||
boot_arch_$(TARGET_ARCH).o
|
||||
@@ -61,6 +63,12 @@ rule BuildZbeos {
|
||||
|
||||
Depends $(zbeos) : $(bootLoader) ;
|
||||
MakeLocateDebug $(zbeos) ;
|
||||
|
||||
on $(1) ResAttr $(1) : $(RESFILES) : false ;
|
||||
if ! [ on $(1) return $(DONT_USE_BEOS_RULES) ] {
|
||||
SetType $(1) ;
|
||||
MimeSet $(1) ;
|
||||
}
|
||||
}
|
||||
|
||||
actions BuildZbeos {
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
resource app_signature "application/x-vnd.Haiku-BootLoader";
|
||||
|
||||
resource app_version {
|
||||
major = 1,
|
||||
middle = 0,
|
||||
minor = 0,
|
||||
|
||||
variety = B_APPV_DEVELOPMENT,
|
||||
internal = 0,
|
||||
|
||||
short_info = "Boot Loader",
|
||||
long_info = "Boot Loader ©2002-2007 Haiku Inc."
|
||||
};
|
||||
@@ -14,6 +14,8 @@ DEFINES += BEOS_STYLE_SYMBOLS_RESOLUTION
|
||||
_LOADER_MODE
|
||||
;
|
||||
|
||||
AddResources runtime_loader : runtime_loader.rdef ;
|
||||
|
||||
# needed for "runtime_loader" only
|
||||
StaticLibrary libruntime_loader.a :
|
||||
kernel_vsprintf.c
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
resource app_signature "application/x-vnd.Haiku-RuntimeLoader";
|
||||
|
||||
resource app_version {
|
||||
major = 1,
|
||||
middle = 0,
|
||||
minor = 0,
|
||||
|
||||
variety = B_APPV_DEVELOPMENT,
|
||||
internal = 0,
|
||||
|
||||
short_info = "Runtime Loader",
|
||||
long_info = "Runtime Loader ©2002-2007 Haiku Inc."
|
||||
};
|
||||
Reference in New Issue
Block a user