diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-02-13 18:53:29 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-02-13 18:53:29 +0000 |
commit | b4fd5d852a84f141bf5d34cdf33d2d969d051edd (patch) | |
tree | b3bf5183f7587efd536c761b8e3f92747f0bf908 | |
parent | 9ec0c1669cc9d10f8d38d165dd965c6c9277372d (diff) | |
download | rockbox-b4fd5d852a84f141bf5d34cdf33d2d969d051edd.tar.gz rockbox-b4fd5d852a84f141bf5d34cdf33d2d969d051edd.zip |
Include dualboot.h in dualboot.c as an additional compile time sanity check
Author: Tobias Diedrich
Flyspray: FS #11009
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24636 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | docs/CREDITS | 1 | ||||
-rw-r--r-- | rbutil/mkamsboot/dualboot.c | 2 | ||||
-rw-r--r-- | rbutil/mkamsboot/dualboot/bin2c.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/docs/CREDITS b/docs/CREDITS index 2d53cd9560..ea781af17d 100644 --- a/docs/CREDITS +++ b/docs/CREDITS | |||
@@ -527,6 +527,7 @@ Marek Salaba | |||
527 | Altay Oz | 527 | Altay Oz |
528 | Peter Lecky | 528 | Peter Lecky |
529 | Mark Borgerding | 529 | Mark Borgerding |
530 | Tobias Diedrich | ||
530 | 531 | ||
531 | The libmad team | 532 | The libmad team |
532 | The wavpack team | 533 | The wavpack team |
diff --git a/rbutil/mkamsboot/dualboot.c b/rbutil/mkamsboot/dualboot.c index 015e580213..85d7210691 100644 --- a/rbutil/mkamsboot/dualboot.c +++ b/rbutil/mkamsboot/dualboot.c | |||
@@ -1,5 +1,7 @@ | |||
1 | /* Generated by bin2c */ | 1 | /* Generated by bin2c */ |
2 | 2 | ||
3 | #include "dualboot.h" | ||
4 | |||
3 | unsigned char nrv2e_d8[168] = { | 5 | unsigned char nrv2e_d8[168] = { |
4 | 0x0f, 0x18, 0x01, 0x24, 0x65, 0x42, 0xe4, 0x07, 0x05, 0x26, 0x36, 0x02, 0x0a, 0xe0, 0x00, 0x20, | 6 | 0x0f, 0x18, 0x01, 0x24, 0x65, 0x42, 0xe4, 0x07, 0x05, 0x26, 0x36, 0x02, 0x0a, 0xe0, 0x00, 0x20, |
5 | 0x00, 0x47, 0x04, 0x78, 0x64, 0x41, 0x01, 0x30, 0x24, 0x06, 0xf7, 0x46, 0x03, 0x78, 0x01, 0x30, | 7 | 0x00, 0x47, 0x04, 0x78, 0x64, 0x41, 0x01, 0x30, 0x24, 0x06, 0xf7, 0x46, 0x03, 0x78, 0x01, 0x30, |
diff --git a/rbutil/mkamsboot/dualboot/bin2c.c b/rbutil/mkamsboot/dualboot/bin2c.c index e8619eae87..9a8c9c7dfe 100644 --- a/rbutil/mkamsboot/dualboot/bin2c.c +++ b/rbutil/mkamsboot/dualboot/bin2c.c | |||
@@ -90,6 +90,7 @@ int main (int argc, char* argv[]) | |||
90 | } | 90 | } |
91 | 91 | ||
92 | fprintf(cfile,"/* Generated by bin2c */\n\n"); | 92 | fprintf(cfile,"/* Generated by bin2c */\n\n"); |
93 | fprintf(cfile,"#include \"%s\"\n\n", hfilename); | ||
93 | fprintf(hfile,"/* Generated by bin2c */\n\n"); | 94 | fprintf(hfile,"/* Generated by bin2c */\n\n"); |
94 | 95 | ||
95 | for(i=0; i < argc - 2; i++) { | 96 | for(i=0; i < argc - 2; i++) { |