3 include $(TOPDIR
)/rules.mk
5 PKG_NAME
:=wpa_supplicant
10 PKG_SOURCE_URL
:=http
://hostap.epitest.fi
/releases
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,WPA_SUPPLICANT
,wpa-supplicant
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 cp
-fp .
/files
/config
$(PKG_BUILD_DIR
)/.config
24 $(PKG_BUILD_DIR
)/.built
:
25 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
26 $(TARGET_CONFIGURE_OPTS
) \
27 CPPFLAGS
="-I$(TOPDIR)/package/openwrt/include -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
28 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
29 OPT_FLAGS
="$(TARGET_CFLAGS)" \
34 $(IPKG_WPA_SUPPLICANT
):
35 install -m0755
-d
$(IDIR_WPA_SUPPLICANT
)/usr
/sbin
36 install -m0755
$(PKG_BUILD_DIR
)/wpa_cli
$(IDIR_WPA_SUPPLICANT
)/usr
/sbin
/
37 install -m0755
$(PKG_BUILD_DIR
)/wpa_passphrase
$(IDIR_WPA_SUPPLICANT
)/usr
/sbin
/
38 install -m0755
$(PKG_BUILD_DIR
)/wpa_supplicant
$(IDIR_WPA_SUPPLICANT
)/usr
/sbin
/
39 $(RSTRIP
) $(IDIR_WPA_SUPPLICANT
)
40 $(IPKG_BUILD
) $(IDIR_WPA_SUPPLICANT
) $(PACKAGE_DIR
)
This page took 0.04007 seconds and 5 git commands to generate.