infra: remove variable FOO_DIR_PREFIX
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Wed, 5 Feb 2014 09:44:01 +0000 (10:44 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 5 Feb 2014 11:10:00 +0000 (12:10 +0100)
commit604d261fb05ba1cc43a9630c3ce944c54ebb97b6
tree93b78bca8b66773b186cae7fb390d9f4a0d314f0
parent3880a6ab3ca3890e79a7a429a58903217f36770d
infra: remove variable FOO_DIR_PREFIX

Variable FOO_DIR_PREFIX in inner-generic-package isn't really needed. The
contents of this variable are 'package' for normal packages, 'boot' for
bootloaders, and 'linux' for the linux kernel.
When patching a package, all you need to know is the directory where
patches can reside, which is already returned by $(pkgdir). In order to be
able to use this variable outside of inner-generic-package, we introduce a
target-specific variable PKGDIR that equals to this $(pkgdir).

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-generic.mk