diff options
Diffstat (limited to 'recipes-devtools/utp-com/utp-com/0001-Fix-Makefile-for-crosscompilation.patch')
-rw-r--r-- | recipes-devtools/utp-com/utp-com/0001-Fix-Makefile-for-crosscompilation.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/recipes-devtools/utp-com/utp-com/0001-Fix-Makefile-for-crosscompilation.patch b/recipes-devtools/utp-com/utp-com/0001-Fix-Makefile-for-crosscompilation.patch deleted file mode 100644 index 5db050c1..00000000 --- a/recipes-devtools/utp-com/utp-com/0001-Fix-Makefile-for-crosscompilation.patch +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | --- a/makefile | ||
2 | +++ b/makefile | ||
3 | @@ -1,10 +1,12 @@ | ||
4 | -CC=gcc | ||
5 | -CFLAGS=-I. -Wall -O2 | ||
6 | -DEPS= | ||
7 | +CC ?= gcc | ||
8 | +CFLAGS ?= -I. -Wall -O2 | ||
9 | +LDFLAGS ?= | ||
10 | +DEPS ?= | ||
11 | + | ||
12 | OBJ=utp_com.o | ||
13 | |||
14 | %.o: %.c $(DEPS) | ||
15 | $(CC) -c -o $@ $< $(CFLAGS) | ||
16 | |||
17 | utp_com: $(OBJ) | ||
18 | - gcc -o $@ $^ $(CFLAGS) | ||
19 | + $(CC) -o $@ $^ $(LDFLAGS) | ||