Use objcopy to build ramdisk object

. during build, uses much less memory,
	  disk space, and time
	. lets us throw out bintoc
This commit is contained in:
Antoine Leca
2012-01-17 16:04:58 +01:00
committed by Ben Gras
parent 5a645f22a8
commit ab0a67f7af
6 changed files with 29 additions and 159 deletions

View File

@@ -2,5 +2,8 @@
local defines and declarations
*/
extern unsigned char imgrd[];
extern size_t imgrd_size;
extern unsigned char _binary_imgrd_mfs_start[], *_binary_imgrd_mfs_end;
#define imgrd _binary_imgrd_mfs_start
#define imgrd_size \
((size_t)(_binary_imgrd_mfs_end - _binary_imgrd_mfs_start))