4
Fork 0
This commit is contained in:
Artem Prilutskiy 2016-08-04 14:03:49 +03:00
commit 5e1f2a89a2
2 changed files with 4 additions and 13 deletions

View file

@ -2,11 +2,10 @@
PACKAGE=cronosagent PACKAGE=cronosagent
PROJECT=$(pwd)/.. PROJECT=$(readlink -f $0 | xargs dirname)/..
OPENWRT=${HOME}/openwrt OPENWRT=$HOME/openwrt
test -d $OPENWRT/package/$PACKAGE if [ -d $OPENWRT/package/$PACKAGE ]
if [ "$?" -eq "0" ]
then then
# Remove existing package in buildroot # Remove existing package in buildroot
rm -rf $OPENWRT/package/$PACKAGE rm -rf $OPENWRT/package/$PACKAGE
@ -29,7 +28,7 @@ if [ "$?" -ne "0" ]
then then
# Give user to choose package $PACKAGE # Give user to choose package $PACKAGE
make menuconfig make menuconfig
make make -j 4
fi fi
# Build package # Build package

View file

@ -1,8 +0,0 @@
/usr/lib/lua/luci/controller/cronosagent.lua
/usr/lib/lua/luci/model/cbi/cronosagent/configure.lua
/etc/config/cronosagent
/etc/init.d/cronosagent
Copy OpenWRT/package/Makefile -> ~/openwrt/packages/cronosagent/Makefile
Copy * -> ~/openwrt/packages/cronosagent/source/*
Remove ~/openwrt/packages/cronosagent/source/OpenWRT/package/Makefile