diff options
author | Allan W. Nielsen <a@awn.dk> | 2011-07-05 21:53:52 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-07-07 22:57:26 +0200 |
commit | c4d57780be46770f9b9374a85c1e790f54e9e5f2 (patch) | |
tree | 6cedeaa5a897e9339989f21834fc5f4360d0ea39 /package/libsoup | |
parent | 6cfba49169f72d49d4ddfe27a1ed2f90eb3bff6d (diff) | |
download | buildroot-novena-c4d57780be46770f9b9374a85c1e790f54e9e5f2.tar.gz buildroot-novena-c4d57780be46770f9b9374a85c1e790f54e9e5f2.zip |
Makefile.package.in: Makes it possible to override the default extract commands
When using GENTARGETS (or macroes depending on it), there is no way of
specifying a custom extraction procedure. When using the patch one can
simply define $(PACKAGE_NAME)_EXTRACT_CMDS which will override the
default. If non is defined it will fall back to the default extract
procedure.
An example could look like this:
=== PACKAGE BEGIN ===
FGLRX_VERSION=11-3
FGLRX_SOURCE:=ati-driver-installer-$(FGLRX_VERSION)-x86.x86_64.run
FGLRX_SITE:=http://www2.ati.com/drivers/linux/
define FGLRX_EXTRACT_CMDS
sh $(DL_DIR)/$(FGLRX_SOURCE) --extract $(@D)
endef
$(eval $(call GENTARGETS,package,fglrx))
=== PACKAGE END ===
Signed-off-by: Allan W. Nielsen <a@awn.dk>
Cc: Allan W. Nielsen <a@awn.dk>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libsoup')
0 files changed, 0 insertions, 0 deletions