Files
openwrt_yocto/meta-openembedded/meta-oe/recipes-extended/wipe/files/makefile-add-ldflags.patch
T
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

18 lines
470 B
Diff

Upstream-Status: Pending
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
diff --git a/Makefile b/Makefile
index 9e74cdf..cad8109 100644
--- a/Makefile
+++ b/Makefile
@@ -151,7 +151,7 @@ generic :
$(MAKE) $(TARGETS) "CC=$(CC_GENERIC)" "CCO=$(CCO_GENERIC)" "CCOC=$(CCOC_GENERIC)"
wipe : $(OBJECTS)
- $(CC) $(CCO) $(OBJECTS) -o wipe
+ $(CC) $(CCO) $(LDFLAGS) $(OBJECTS) -o wipe
wipe.o : wipe.c random.h misc.h version.h
$(CC) $(CCO) $(CCOC) wipe.c -o wipe.o