mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-10 11:57:43 +00:00
pkg-utils.mk: fix/clean indentation
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
ff2ee34086
commit
736ce2f3da
@ -50,17 +50,9 @@ endef
|
|||||||
# automagically find where the package is located. Note that the
|
# automagically find where the package is located. Note that the
|
||||||
# pkgdir macro is carefully written to handle the case of the Linux
|
# pkgdir macro is carefully written to handle the case of the Linux
|
||||||
# package, for which the package directory is an empty string.
|
# package, for which the package directory is an empty string.
|
||||||
define pkgdir
|
pkgdir = $(dir $(lastword $(MAKEFILE_LIST)))
|
||||||
$(dir $(lastword $(MAKEFILE_LIST)))
|
pkgname = $(lastword $(subst /, ,$(call pkgdir)))
|
||||||
endef
|
pkgparentdir = $(patsubst %$(call pkgname)/,%,$(call pkgdir))
|
||||||
|
|
||||||
define pkgname
|
|
||||||
$(lastword $(subst /, ,$(call pkgdir)))
|
|
||||||
endef
|
|
||||||
|
|
||||||
define pkgparentdir
|
|
||||||
$(patsubst %$(call pkgname)/,%,$(call pkgdir))
|
|
||||||
endef
|
|
||||||
|
|
||||||
# Define extractors for different archive suffixes
|
# Define extractors for different archive suffixes
|
||||||
INFLATE.bz2 = $(BZCAT)
|
INFLATE.bz2 = $(BZCAT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user