diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-05-29 22:15:31 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-05-30 11:28:58 +0200 |
commit | 3087fa5c4ab4ad5ee3dae251d1477302044aab49 (patch) | |
tree | abfb335380140cc0aaa1926995ae0b11dae432ad /meta-oe/recipes-devtools/ltrace/files/ltrace-fix-sysdep_h-dependency.patch | |
parent | 71565bbff3f693546ee32537cf05762d08131edc (diff) | |
download | meta-openembedded-3087fa5c4ab4ad5ee3dae251d1477302044aab49.tar.gz |
ltrace: import from OE rev d4f0211e2078d5033ae0dee74664de5520d8392d
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/ltrace/files/ltrace-fix-sysdep_h-dependency.patch')
-rw-r--r-- | meta-oe/recipes-devtools/ltrace/files/ltrace-fix-sysdep_h-dependency.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/ltrace/files/ltrace-fix-sysdep_h-dependency.patch b/meta-oe/recipes-devtools/ltrace/files/ltrace-fix-sysdep_h-dependency.patch new file mode 100644 index 000000000..b9e5f7f3e --- /dev/null +++ b/meta-oe/recipes-devtools/ltrace/files/ltrace-fix-sysdep_h-dependency.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | Index: ltrace-0.5.3/sysdeps/linux-gnu/Makefile | ||
2 | =================================================================== | ||
3 | --- ltrace-0.5.3.orig/sysdeps/linux-gnu/Makefile | ||
4 | +++ ltrace-0.5.3/sysdeps/linux-gnu/Makefile | ||
5 | @@ -12,7 +12,10 @@ CPPFLAGS += -I$(TOPDIR)/sysdeps/linux-gn | ||
6 | |||
7 | OBJ = events.o trace.o proc.o breakpoint.o | ||
8 | |||
9 | -all: sysdep.h signalent.h syscallent.h arch_syscallent.h signalent1.h syscallent1.h ../sysdep.o | ||
10 | +HDRS = sysdep.h signalent.h syscallent.h arch_syscallent.h \ | ||
11 | + signalent1.h syscallent1.h | ||
12 | + | ||
13 | +all: ../sysdep.o | ||
14 | |||
15 | sysdep.h: $(ARCH)/arch.h | ||
16 | cat $(ARCH)/arch.h > sysdep.h | ||
17 | @@ -49,12 +52,14 @@ arch_syscallent.h: | ||
18 | os.o: $(OBJ) | ||
19 | $(CC) -nostdlib -r -o os.o $(OBJ) | ||
20 | |||
21 | +$(OBJ): $(HDRS) | ||
22 | + | ||
23 | $(ARCH)/arch.o: dummy | ||
24 | $(MAKE) -C $(ARCH) | ||
25 | |||
26 | clean: | ||
27 | $(MAKE) -C $(ARCH) clean | ||
28 | - rm -f $(OBJ) sysdep.h signalent.h signalent1.h syscallent.h arch_syscallent.h | ||
29 | - rm -f syscallent1.h os.o sysdep.o ../sysdep.o | ||
30 | + rm -f $(HDRS) | ||
31 | + rm -f $(OBJ) os.o sysdep.o ../sysdep.o | ||
32 | |||
33 | dummy: | ||