diff options
| -rw-r--r-- | meta-oe/recipes-extended/wipe/files/makefile-add-ldflags.patch | 17 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/wipe/wipe_git.bb | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/wipe/files/makefile-add-ldflags.patch b/meta-oe/recipes-extended/wipe/files/makefile-add-ldflags.patch new file mode 100644 index 0000000000..fac1b31dcc --- /dev/null +++ b/meta-oe/recipes-extended/wipe/files/makefile-add-ldflags.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
| 4 | |||
| 5 | diff --git a/Makefile b/Makefile | ||
| 6 | index 9e74cdf..cad8109 100644 | ||
| 7 | --- a/Makefile | ||
| 8 | +++ b/Makefile | ||
| 9 | @@ -151,7 +151,7 @@ generic : | ||
| 10 | $(MAKE) $(TARGETS) "CC=$(CC_GENERIC)" "CCO=$(CCO_GENERIC)" "CCOC=$(CCOC_GENERIC)" | ||
| 11 | |||
| 12 | wipe : $(OBJECTS) | ||
| 13 | - $(CC) $(CCO) $(OBJECTS) -o wipe | ||
| 14 | + $(CC) $(CCO) $(LDFLAGS) $(OBJECTS) -o wipe | ||
| 15 | |||
| 16 | wipe.o : wipe.c random.h misc.h version.h | ||
| 17 | $(CC) $(CCO) $(CCOC) wipe.c -o wipe.o | ||
diff --git a/meta-oe/recipes-extended/wipe/wipe_git.bb b/meta-oe/recipes-extended/wipe/wipe_git.bb index 70229f014e..dd4995881b 100644 --- a/meta-oe/recipes-extended/wipe/wipe_git.bb +++ b/meta-oe/recipes-extended/wipe/wipe_git.bb | |||
| @@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" | |||
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/berke/wipe.git;branch=master \ | 12 | SRC_URI = "git://github.com/berke/wipe.git;branch=master \ |
| 13 | file://support-cross-compile-for-linux.patch \ | 13 | file://support-cross-compile-for-linux.patch \ |
| 14 | file://makefile-add-ldflags.patch \ | ||
| 14 | " | 15 | " |
| 15 | SRCREV = "d9c100c9cd0b1cbbe4359e4d6c9a035d11e7597c" | 16 | SRCREV = "d9c100c9cd0b1cbbe4359e4d6c9a035d11e7597c" |
| 16 | PV = "0.23+git${SRCPV}" | 17 | PV = "0.23+git${SRCPV}" |
