diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2012-02-16 18:32:44 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-03-08 13:42:53 +0100 |
commit | 7f600ad171e70ed0250369d21a31ddafed7accca (patch) | |
tree | 0f96aee395225fe8e29697fb572468613240556d | |
parent | 19cf712bba586e7d737d15b2427a9d5de1aca6f0 (diff) | |
download | ptxdist-7f600ad171e70ed0250369d21a31ddafed7accca.tar.gz ptxdist-7f600ad171e70ed0250369d21a31ddafed7accca.tar.xz |
wpa_supplicant: run 'make clean' in prepare stageptxdist-2012.03.0
This is needed because wpa_supplicant's build system does not
recognize configuration changes.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/wpa_supplicant.make | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/wpa_supplicant.make b/rules/wpa_supplicant.make index 93bac9544..03a043ad9 100644 --- a/rules/wpa_supplicant.make +++ b/rules/wpa_supplicant.make @@ -54,6 +54,10 @@ WPA_SUPPLICANT_AUTOCONF := $(CROSS_AUTOCONF_USR) $(STATEDIR)/wpa_supplicant.prepare: @$(call targetinfo) +# # run 'make clean' as wpa_supplicant's build system does not recognize config changes + @-cd $(WPA_SUPPLICANT_DIR)/$(WPA_SUPPLICANT_SUBDIR) && \ + $(WPA_SUPPLICANT_ENV) $(WPA_SUPPLICANT_PATH) $(MAKE) clean + @echo "CC=$(CROSS_CC)" > $(WPA_SUPPLICANT_CONFIG) && \ echo "CFLAGS += -I$(PTXDIST_SYSROOT_TARGET)/include" >> $(WPA_SUPPLICANT_CONFIG) && \ echo "CFLAGS += -I$(PTXDIST_SYSROOT_TARGET)/usr/include" >> $(WPA_SUPPLICANT_CONFIG) && \ |