package/pkg-utils.mk: remove trailing slash in pkgdir definition
Signed-off-by: Scott Fan <fancp2007@gmail.com> [Arnout: move to definition of pkgdir instead of PKGDIR] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
2bf3dc5b84
commit
748fc4be21
@ -42,7 +42,7 @@ KCONFIG_DISABLE_OPT = $(Q)$(call KCONFIG_MUNGE_DOT_CONFIG, $(1), $(SHARP_SIGN) $
|
||||
# directory from its makefile directory, using the $(MAKEFILE_LIST)
|
||||
# variable provided by make. This is used by the *-package macros to
|
||||
# automagically find where the package is located.
|
||||
pkgdir = $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
pkgdir = $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
|
||||
pkgname = $(lastword $(subst /, ,$(pkgdir)))
|
||||
|
||||
# Helper to build the extension for a package archive, based on various
|
||||
|
Loading…
Reference in New Issue
Block a user