android: Fix Android.mk for ipsec script

This commit is contained in:
Tobias Brunner 2013-03-08 17:05:55 +01:00
parent e5d819b617
commit 9a4d06df44
1 changed files with 2 additions and 1 deletions

View File

@ -18,13 +18,14 @@ $(GEN) : PRIVATE_CUSTOM_TOOL = sed \
-e "s:@IPSEC_NAME@:strongSwan:" \
-e "s:@IPSEC_DISTRO@::" \
-e "s:@IPSEC_DIR@:$(strongswan_DIR):" \
-e "s:@IPSEC_SCRIPT@:ipsec:" \
-e "s:@IPSEC_SBINDIR@:$(strongswan_SBINDIR):" \
-e "s:@IPSEC_CONFDIR@:$(strongswan_CONFDIR):" \
-e "s:@IPSEC_PIDDIR@:$(strongswan_PIDDIR):" \
$< > $@ && chmod +x $@
$(GEN) : $(strongswan_PATH)/Android.mk
$(GEN) : $(LOCAL_PATH)/ipsec.in
$(GEN) : $(LOCAL_PATH)/_ipsec.in
$(transform-generated-source)
LOCAL_GENERATED_SOURCES := $(GEN)