Hi. Most of the Makefile examples I saw are downloading the sources from a remote recource like github. See PKG_SOURCE_URL:= section.
SNIPPED
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/antirez/dump1090.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=13596ba3ddfc41e77da7e42e8d9e76a984acede3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
SNIPPED
This works. I can make a dump1090 bin in an OpenWRT SDK environment (AA).
But howto customize the Makefile that using a local place for a UNPACKED/UNCOMPRESSED source code? Let us assume that the local path for the source code is
~/username/coding/dump1090
My idea is to "git clone" a repo. Than do any changes on the code in local place. Then "make package/dump1090/compile" without downloading source any time.
Thank you in advance for helping my out.... And excuse me for my bad writing in english language!
(Last edited by DE8MSH on 22 Oct 2013, 09:17)