openssl: detect configuration changes and clean build tree accordingly (fixes #15067)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39852 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
3e05d1f90f
commit
d11fe14771
|
@ -110,7 +110,13 @@ else
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
STAMP_CONFIGURED := $(STAMP_CONFIGURED)_$(subst $(space),_,$(OPENSSL_OPTIONS))
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
|
[ -f $(STAMP_CONFIGURED) ] || { \
|
||||||
|
rm -f $(PKG_BUILD_DIR)/*.so.* $(PKG_BUILD_DIR)/*.a; \
|
||||||
|
find $(PKG_BUILD_DIR) -name \*.o | xargs rm -f; \
|
||||||
|
}
|
||||||
(cd $(PKG_BUILD_DIR); \
|
(cd $(PKG_BUILD_DIR); \
|
||||||
./Configure $(OPENSSL_TARGET) \
|
./Configure $(OPENSSL_TARGET) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
|
Loading…
Reference in New Issue