toplevel.mk: make sure tmp exist for .packagedynamicdefault
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 12 Jun 2024 13:55:17 +0000 (15:55 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 12 Jun 2024 13:55:17 +0000 (15:55 +0200)
commit3810219441350c68f21a5d3788c9c1c3eb5c6be0
tree6f5bdff4f4aad6c1087bb73c46934aa627fc8ff1
parent95597dc2e3f9139d7e847a14aeff55cd25920c4e
toplevel.mk: make sure tmp exist for .packagedynamicdefault

With some big corner case, tmp directory might not exist when
check-dynamic-def-pkg is called. To handle this, make sure tmp exist
before creating the .packagedynamicdefault file.

Fixes: 9a52ec4fa092 ("toplevel.mk: implement logic to invalidate targetinfo with some config")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
include/toplevel.mk