summaryrefslogtreecommitdiffstats
path: root/package/netkitbase
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-07-05 21:53:57 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-07 23:48:41 +0200
commit7a41cbf938d6a189109b8b15dc2cef8638c5a0c2 (patch)
tree6c2e7697c8885b635e3309012012b9f153db8ea5 /package/netkitbase
parent2985998f2810fb3b45af4e1ee46eaec993959edb (diff)
downloadbuildroot-novena-7a41cbf938d6a189109b8b15dc2cef8638c5a0c2.tar.gz
buildroot-novena-7a41cbf938d6a189109b8b15dc2cef8638c5a0c2.zip
package: fix patching procedure for host packages
The patching procedure was using $($(NOHOSTPKG)_NAME) to find the name of the package without the host- prefix for host packages, which is needed to find the package directory and the prefix of the patches. However, this $($(NOHOSTPKG)_NAME) variable is empty when there is only an host variant for the package and no target variant for it. Therefore, instead of using this $($(NOHOSTPKG)_NAME) variable, we now use a new $(RAWNAME) variable, which is always the name of the package without the host- prefix, even for host packages. Thanks to Yann E. Morin for providing the tip on using patsubst instead of subst. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/netkitbase')
0 files changed, 0 insertions, 0 deletions