Skip to content

Commit ebee032

Browse files
committed
Move platforms to a separate directory
The root of the tree became bloated enough, organize the files better. Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
1 parent b22c15e commit ebee032

25 files changed

Lines changed: 26 additions & 25 deletions

debugcc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <string.h>
1515
#include <unistd.h>
1616

17-
#include "debugcc.h"
17+
#include <debugcc.h>
1818

1919
static unsigned int measure_ticks(struct gcc_mux *gcc, unsigned int ticks)
2020
{

meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ platform_defs = []
4444
platform_array = []
4545

4646
foreach p: platforms
47-
debugcc_srcs += p + '.c'
47+
debugcc_srcs += 'platforms/' + p + '.c'
4848
platform_defs += 'extern struct debugcc_platform ' + p + '_debugcc;'
4949
platform_array += '\t&' + p + '_debugcc,'
5050

@@ -70,4 +70,5 @@ endif
7070
executable('debugcc',
7171
debugcc_srcs,
7272
link_args: debugcc_link_args,
73+
include_directories : include_directories('.'),
7374
install: true)

hamoa.c renamed to platforms/hamoa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <string.h>
1111
#include <unistd.h>
1212

13-
#include "debugcc.h"
13+
#include <debugcc.h>
1414

1515
static struct gcc_mux gcc = {
1616
.mux = {

ipq8064.c renamed to platforms/ipq8064.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <string.h>
1010
#include <unistd.h>
1111

12-
#include "debugcc.h"
12+
#include <debugcc.h>
1313

1414
#define GCC_PHYS 0x900000
1515

milos.c renamed to platforms/milos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <string.h>
1111
#include <unistd.h>
1212

13-
#include "debugcc.h"
13+
#include <debugcc.h>
1414

1515
static struct gcc_mux gcc = {
1616
.mux = {

msm8936.c renamed to platforms/msm8936.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <string.h>
1313
#include <unistd.h>
1414

15-
#include "debugcc.h"
15+
#include <debugcc.h>
1616

1717
#define GCC_BASE 0x01800000
1818
#define GCC_SIZE 0x80000

msm8974.c renamed to platforms/msm8974.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <string.h>
1414
#include <unistd.h>
1515

16-
#include "debugcc.h"
16+
#include <debugcc.h>
1717

1818
static struct gcc_mux gcc = {
1919
.mux = {

msm8994.c renamed to platforms/msm8994.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <string.h>
1111
#include <unistd.h>
1212

13-
#include "debugcc.h"
13+
#include <debugcc.h>
1414

1515
static struct gcc_mux gcc = {
1616
.mux = {

msm8996.c renamed to platforms/msm8996.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <string.h>
1313
#include <unistd.h>
1414

15-
#include "debugcc.h"
15+
#include <debugcc.h>
1616

1717
#define GCC_BASE 0x300000
1818
#define GCC_SIZE 0x8f014

msm8998.c renamed to platforms/msm8998.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <string.h>
1111
#include <unistd.h>
1212

13-
#include "debugcc.h"
13+
#include <debugcc.h>
1414

1515
static struct gcc_mux gcc = {
1616
.mux = {

0 commit comments

Comments
 (0)