Hello, Le Sunday 14 December 2008 19:05:10 Joerg Albert, vous avez écrit : > 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
You should specify the protocol to use, you can have a look at include/Download.mk starting at line 116. Something like this should be working : define Download/firmware PROTO:=git URL:=git://..../... endef -- Best regards, Florian Fainelli Email : flor...@openwrt.org http://openwrt.org -------------------------------
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel