Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split out tracks to individual object files
In order to reduce the memory requirements for building the kernel module, build each track into an object file individually. For this purpose, each "track object" exports the data array and its length explicitly, which can then be used from netcat_main.c. Signed-off-by: Philipp A. Hartmann <pah@qo.cx>
- Loading branch information
Showing
8 changed files
with
40 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#define NETCAT_CPI_TRK1_LEN 624344 | ||
static char netcat_cpi_trk1[] = { | ||
char netcat_cpi_trk1[] = { | ||
|
||
#include "trk1data.h" | ||
|
||
}; | ||
unsigned long netcat_cpi_trk1_len = NETCAT_CPI_TRK1_LEN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#define NETCAT_CPI_TRK2_LEN 11659615 | ||
static char netcat_cpi_trk2[] = { | ||
char netcat_cpi_trk2[] = { | ||
|
||
#include "trk2data.h" | ||
|
||
}; | ||
unsigned long netcat_cpi_trk2_len = NETCAT_CPI_TRK2_LEN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#define NETCAT_CPI_TRK3_LEN 829971 | ||
static char netcat_cpi_trk3[] = { | ||
char netcat_cpi_trk3[] = { | ||
|
||
#include "trk3data.h" | ||
|
||
}; | ||
unsigned long netcat_cpi_trk3_len = NETCAT_CPI_TRK3_LEN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#define NETCAT_CPI_TRK4_LEN 10788741 | ||
static char netcat_cpi_trk4[] = { | ||
char netcat_cpi_trk4[] = { | ||
|
||
#include "trk4data.h" | ||
|
||
}; | ||
unsigned long netcat_cpi_trk4_len = NETCAT_CPI_TRK4_LEN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#define NETCAT_CPI_TRK5_LEN 858054 | ||
static char netcat_cpi_trk5[] = { | ||
char netcat_cpi_trk5[] = { | ||
|
||
#include "trk5data.h" | ||
|
||
}; | ||
unsigned long netcat_cpi_trk5_len = NETCAT_CPI_TRK5_LEN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#define NETCAT_CPI_TRK6_LEN 13025371 | ||
static char netcat_cpi_trk6[] = { | ||
char netcat_cpi_trk6[] = { | ||
|
||
#include "trk6data.h" | ||
|
||
}; | ||
unsigned long netcat_cpi_trk6_len = NETCAT_CPI_TRK6_LEN; |