mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
wifilife: fix for open build
This commit is contained in:
parent
564838aa9f
commit
803f139c8c
2 changed files with 4 additions and 7 deletions
|
|
@ -83,8 +83,8 @@ build_wifilife_consumer() {
|
||||||
[ -n "$ver" -a -n "$commit" ] || return
|
[ -n "$ver" -a -n "$commit" ] || return
|
||||||
ssh $SERVER "test -f $FPATH/wifilife-$target-${ver}_${commit}.tar.xz" && return
|
ssh $SERVER "test -f $FPATH/wifilife-$target-${ver}_${commit}.tar.xz" && return
|
||||||
cd ./build_dir/target-*/wifilife-$ver/ipkg-* || cd ./build_dir/target-mips*musl-*/wifilife-$ver/ipkg-*
|
cd ./build_dir/target-*/wifilife-$ver/ipkg-* || cd ./build_dir/target-mips*musl-*/wifilife-$ver/ipkg-*
|
||||||
cp -rf wifilife wifilife-${target}-$ver
|
mkdir -p wifilife-${target}-$ver/src
|
||||||
rm -rf wifilife-${target}-$ver/CONTROL/
|
cp -rf wifilife/usr/sbin/* wifilife-${target}-$ver/src/
|
||||||
tar Jcf wifilife-${target}-${ver}_${commit}.tar.xz wifilife-${target}-$ver
|
tar Jcf wifilife-${target}-${ver}_${commit}.tar.xz wifilife-${target}-$ver
|
||||||
scp -pv wifilife-$target-${ver}_${commit}.tar.xz $SERVER:$FPATH/
|
scp -pv wifilife-$target-${ver}_${commit}.tar.xz $SERVER:$FPATH/
|
||||||
cp wifilife-${target}-${ver}_${commit}.tar.xz $curdir/
|
cp wifilife-${target}-${ver}_${commit}.tar.xz $curdir/
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ else
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=git@dev.iopsys.eu:iopsys/wifilife.git
|
PKG_SOURCE_URL:=git@dev.iopsys.eu:iopsys/wifilife.git
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(BASE_PKG_VERSION)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
@ -43,9 +42,8 @@ endef
|
||||||
ifeq ($(CONFIG_WIFILIFE_OPEN),y)
|
ifeq ($(CONFIG_WIFILIFE_OPEN),y)
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
endef
|
endef
|
||||||
define Package/wifilife/install
|
endif
|
||||||
endef
|
|
||||||
else
|
|
||||||
TARGET_CFLAGS += \
|
TARGET_CFLAGS += \
|
||||||
-I$(STAGING_DIR)/usr/include \
|
-I$(STAGING_DIR)/usr/include \
|
||||||
-I$(STAGING_DIR)/usr/include/libnl3 \
|
-I$(STAGING_DIR)/usr/include/libnl3 \
|
||||||
|
|
@ -59,6 +57,5 @@ define Package/wifilife/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wifiagent $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wifiagent $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
endif
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,wifilife))
|
$(eval $(call BuildPackage,wifilife))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue