[OpenWrt-Devel] How to download 3rd party package from git in OpenWrt

Pratik Prajapati pratik.prajapati12 at gmail.com
Mon Jul 13 06:52:46 EDT 2015


Hi,

I want to build radvd-2.11 package in OpenWrt but i am unable to download
it using Makefile rules.

Makefile:

include $(TOPDIR)/rules.mk

PKG_NAME:=radvd
PKG_VERSION:=2.11
PKG_SOURCE_PROTO:=git

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
PKG_SOURCE_URL:=https://github.com/reubenhwk/radvd.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=e3e2b38a0433f680a75dadb394692edec3ea66e3
PKG_CAT:=unzip
PKG_FIXUP:=autoreconf

include $(INCLUDE_DIR)/package.mk
.
.
.

Cmd: make ./package/radvd-2.11/compile V=s

Cloning into 'radvd-2.11'...
remote: Counting objects: 3603, done.
remote: Total 3603 (delta 0), reused 0 (delta 0), pack-reused 3603
Receiving objects: 100% (3603/3603), 1.64 MiB | 712.00 KiB/s, done.
Resolving deltas: 100% (2324/2324), done.
Checking connectivity... done.
Note: checking out 'e3e2b38a0433f680a75dadb394692edec3ea66e3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e3e2b38... Makefile.am: add --with-check to packages target
Packing checkout...
ERROR: Unknown pack format for file
/home/pratik.prajapati/work/openwrt-radvd/openwrt-tip/openwrt/tmp/dl/radvd-2.11.zip


I am not able to download radvd-2.11 using my makefile. What part I am
missing in Makefile ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150713/582c1996/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list