X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=net%2Fxsupplicant%2FMakefile;h=dcbc3441486c35df0bbe5d9df4431684c103e698;hp=4e4965b1cdd70f0c4057309d6be86c13c071abaf;hb=5360edce8f45be94248e74df88c9c3c4206bf3ce;hpb=ee78cf9e50f88735be838900f3379c3bee8b5d87 diff --git a/net/xsupplicant/Makefile b/net/xsupplicant/Makefile index 4e4965b1cd..dcbc344148 100644 --- a/net/xsupplicant/Makefile +++ b/net/xsupplicant/Makefile @@ -40,6 +40,12 @@ define Package/xsupplicant/conffiles endef define Build/Configure + (cd $(PKG_BUILD_DIR); touch \ + configure.in \ + aclocal.m4 \ + Makefile.in \ + configure \ + ); $(call Build/Configure/Default, \ --with-openssl="$(STAGING_DIR)/usr" \ --with-madwifi-path="$(STAGING_DIR)/usr/include/madwifi" \ @@ -55,11 +61,11 @@ define Build/Compile endef define Package/xsupplicant/install - install -d -m0755 $(1)/etc - install -m0644 $(PKG_BUILD_DIR)/etc/xsupplicant.conf $(1)/etc/ - install -d -m0755 $(1)/usr/bin + $(INSTALL_DIR) $(1)/etc + $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/xsupplicant.conf $(1)/etc/ + $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/xsup_* $(1)/usr/bin/ - install -d -m0755 $(1)/usr/sbin + $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/sbin/xsupplicant $(1)/usr/sbin/ endef