mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
dropbear: move options.h editing to Build/Configure
fixes incremental build with change to CONFIG_DROPBEAR_ECC drop --with-shared which is unknown to configure Patch by Catalin Patulea <cat@vv.carleton.ca> SVN-Revision: 40300
This commit is contained in:
parent
f2fdd8ebdb
commit
3ecffab050
@ -59,7 +59,6 @@ define Package/dropbearconvert
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-shared \
|
|
||||||
--disable-pam \
|
--disable-pam \
|
||||||
--enable-openpty \
|
--enable-openpty \
|
||||||
--enable-syslog \
|
--enable-syslog \
|
||||||
@ -78,8 +77,9 @@ CONFIGURE_ARGS += \
|
|||||||
TARGET_CFLAGS += -DARGTYPE=3 -ffunction-sections -fdata-sections
|
TARGET_CFLAGS += -DARGTYPE=3 -ffunction-sections -fdata-sections
|
||||||
TARGET_LDFLAGS += -Wl,--gc-sections
|
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Configure
|
||||||
$(call Build/Prepare/Default)
|
$(Build/Configure/Default)
|
||||||
|
|
||||||
# Enforce that all replacements are made, otherwise options.h has changed
|
# Enforce that all replacements are made, otherwise options.h has changed
|
||||||
# format and this logic is broken.
|
# format and this logic is broken.
|
||||||
for OPTION in DROPBEAR_ECDSA DROPBEAR_ECDH DROPBEAR_CURVE25519; do \
|
for OPTION in DROPBEAR_ECDSA DROPBEAR_ECDH DROPBEAR_CURVE25519; do \
|
||||||
|
Loading…
Reference in New Issue
Block a user