Files
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

35 lines
834 B
Diff

Upstream-Status: Pending
Index: b/gen-cc
===================================================================
--- a/gen-cc
+++ b/gen-cc
@@ -15,6 +15,11 @@
shift
shift
+ echo $CC \$MODE -o \$BASE.o \$BASE.$EXT \\
+ -MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\
+ $CPPFLAGS \\
+ $CFLAGS \\
+ "\$@"
$CC \$MODE -o \$BASE.o \$BASE.$EXT \\
-MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\
$CPPFLAGS \\
Index: b/wvrules-posix.mk
===================================================================
--- a/wvrules-posix.mk
+++ b/wvrules-posix.mk
@@ -35,11 +35,6 @@
# Default compiler we use for linking
WVLINK_CC = $(CXX)
-ifneq ("$(enable_optimization)", "no")
- CXXFLAGS+=-O2
- CFLAGS+=-O2
-endif
-
ifneq ("$(enable_warnings)", "no")
CXXFLAGS+=-Wall -Woverloaded-virtual
CFLAGS+=-Wall