Loading package/pkg-utils.mk +16 −24 Original line number Diff line number Diff line Loading @@ -50,17 +50,9 @@ endef # automagically find where the package is located. Note that the # pkgdir macro is carefully written to handle the case of the Linux # package, for which the package directory is an empty string. define pkgdir $(dir $(lastword $(MAKEFILE_LIST))) endef define pkgname $(lastword $(subst /, ,$(call pkgdir))) endef define pkgparentdir $(patsubst %$(call pkgname)/,%,$(call pkgdir)) endef pkgdir = $(dir $(lastword $(MAKEFILE_LIST))) pkgname = $(lastword $(subst /, ,$(call pkgdir))) pkgparentdir = $(patsubst %$(call pkgname)/,%,$(call pkgdir)) # Define extractors for different archive suffixes INFLATE.bz2 = $(BZCAT) Loading Loading
package/pkg-utils.mk +16 −24 Original line number Diff line number Diff line Loading @@ -50,17 +50,9 @@ endef # automagically find where the package is located. Note that the # pkgdir macro is carefully written to handle the case of the Linux # package, for which the package directory is an empty string. define pkgdir $(dir $(lastword $(MAKEFILE_LIST))) endef define pkgname $(lastword $(subst /, ,$(call pkgdir))) endef define pkgparentdir $(patsubst %$(call pkgname)/,%,$(call pkgdir)) endef pkgdir = $(dir $(lastword $(MAKEFILE_LIST))) pkgname = $(lastword $(subst /, ,$(call pkgdir))) pkgparentdir = $(patsubst %$(call pkgname)/,%,$(call pkgdir)) # Define extractors for different archive suffixes INFLATE.bz2 = $(BZCAT) Loading