]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Android: Avoid LOCAL_PATH conflicts in builds
authorChenming Huang <quic_chenhuan@quicinc.com>
Tue, 5 Apr 2022 02:40:21 +0000 (10:40 +0800)
committerJouni Malinen <j@w1.fi>
Tue, 5 Apr 2022 16:48:08 +0000 (19:48 +0300)
Change the top level Android.mk's LOCAL_PATH to S_LOCAL_PATH to
avoid potential LOCAL_PATH conflict in subdirectory's LOCAL_PATH.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
Android.mk

index bd7a4097444b46a476096632536091bcd273e2af..03d18c5e6c8cd867b6caf7ddd2623475f9898371 100644 (file)
@@ -1,10 +1,10 @@
-LOCAL_PATH:= $(call my-dir)
+S_LOCAL_PATH := $(call my-dir)
 
 ifneq ($(filter VER_0_8_X VER_2_1_DEVEL,$(WPA_SUPPLICANT_VERSION)),)
 # The order of the 2 Android.mks does matter!
 # TODO: Clean up the Android.mks, reset all the temporary variables at the
 # end of each Android.mk, so that one Android.mk doesn't depend on variables
 # set up in the other Android.mk.
-include $(LOCAL_PATH)/hostapd/Android.mk \
-        $(LOCAL_PATH)/wpa_supplicant/Android.mk
+include $(S_LOCAL_PATH)/hostapd/Android.mk \
+        $(S_LOCAL_PATH)/wpa_supplicant/Android.mk
 endif