Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
kernel
/
lk
/
9d4acea3eaec341fa5ad4c7366d45ac89fe7e633
/
.
/
make
/
macros.mk
blob: 13c1d9b277e9a4dc16bc4c663f1d54bc4a332de9 [
file
] [
log
] [
blame
]
# Find the local dir of the make file
GET_LOCAL_DIR
=
$
(
patsubst
%/,%,
$
(
dir $
(
word $
(
words $
(
MAKEFILE_LIST
)),
$
(
MAKEFILE_LIST
))))
# makes sure the target dir exists
MKDIR
=
if
[
!
-
d $
(
dir $@
)
];
then
mkdir
-
p $
(
dir $@
);
fi