Removal of non-Haiku target platform logic from build system (part 1.)

Following recent changes to use libroot_build on Haiku also, it is now
actually impossible to build Haiku components on non-Haiku platforms
(BeOS R5, Dan0, BONE, Zeta), so we can remove any logic related to this.

This is only the first part; still to be removed are:
 * SetSubDirSupportedPlatformsBeOSCompatible
 * HOST_PLATFORM_BEOS_COMPATIBLE
 * TARGET_PLATFORM_BEOS_COMPATIBLE
This commit is contained in:
Augustin Cavalier
2017-12-31 16:14:22 -05:00
parent 1446507ce3
commit 8a9e1e0d4a
55 changed files with 33 additions and 434 deletions
-7
View File
@@ -513,15 +513,8 @@ get_cpu_type(char *vendorBuffer, size_t vendorSize, char *modelBuffer,
if (model == NULL)
model = "Unknown";
#ifdef R5_COMPATIBLE
strncpy(vendorBuffer, vendor, vendorSize - 1);
vendorBuffer[vendorSize - 1] = '\0';
strncpy(modelBuffer, model, modelSize - 1);
modelBuffer[modelSize - 1] = '\0';
#else
strlcpy(vendorBuffer, vendor, vendorSize);
strlcpy(modelBuffer, model, modelSize);
#endif
}