Joerg Albert
2008-12-14 18:05:10 UTC
I want to create a Makefile for a kernel package, where the sources
come from a git repository and the firmware comes from a second one.
This part works fine for the sources:
PKG_NAME:=kmod-ar9170
PKG_REV:=06609c7644e6770056405b09ff095689d79b4c30
PKG_VERSION:=20081120_$(PKG_REV)
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.kernel.org/pub/scm/linux/kernel/git/jberg/ar9170.git
PKG_SOURCE_PROTO:=git
but I'm lost with the firmware download part. Could someone please
tell what to put inside
#define Download/firmware
#endef
to download the firmware from a git repo?
Downloading from the gitweb interface doesn't work.
come from a git repository and the firmware comes from a second one.
This part works fine for the sources:
PKG_NAME:=kmod-ar9170
PKG_REV:=06609c7644e6770056405b09ff095689d79b4c30
PKG_VERSION:=20081120_$(PKG_REV)
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.kernel.org/pub/scm/linux/kernel/git/jberg/ar9170.git
PKG_SOURCE_PROTO:=git
but I'm lost with the firmware download part. Could someone please
tell what to put inside
#define Download/firmware
#endef
to download the firmware from a git repo?
Downloading from the gitweb interface doesn't work.