History log of /haiku-fatelf/src/tools/data_to_source.cpp
Revision Date Author Comments
# 6fc59c0f 08-Jan-2011 François Revol <revol@free.fr>

Haiku defines S_IRUSR in sys/stat.h as per OpenGroup...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40156 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1485d7a2 14-Jul-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added small tool source_to_data, which takes an arbitrary data file and
generates a C source file defining an array variable containing the file's
data. DataFileToSourceFile is the respective jam rule.

The idea is to directly built the boot archive into the boot loader for
network booting (and thus avoiding to download it from somewhere). In
case of PXE this doesn't work, though, due to restrictions to the size
of the NBP. Maybe Open Firmware is less restrictive.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21602 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6fc59c0f33da5e54a03133a50ab1fb27ef7b57cf 08-Jan-2011 François Revol <revol@free.fr>

Haiku defines S_IRUSR in sys/stat.h as per OpenGroup...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40156 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1485d7a2d7e9d2af5c68965b3f35671448c5e337 14-Jul-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added small tool source_to_data, which takes an arbitrary data file and
generates a C source file defining an array variable containing the file's
data. DataFileToSourceFile is the respective jam rule.

The idea is to directly built the boot archive into the boot loader for
network booting (and thus avoiding to download it from somewhere). In
case of PXE this doesn't work, though, due to restrictions to the size
of the NBP. Maybe Open Firmware is less restrictive.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21602 a95241bf-73f2-0310-859d-f6bbb57e9c96