Move create_root_structure.mk to the dont_bother block. Bug: 353642907 Test: m -j init.environ.rc Change-Id: I54671a194dbf2005286cb8386cafd93fbef75975
diff --git a/core/main.mk b/core/main.mk index 8d0b465..2076182 100644 --- a/core/main.mk +++ b/core/main.mk
@@ -297,6 +297,9 @@ checkbuild: blueprint_tests endif +# Create necessary directories and symlinks in the root filesystem +include system/core/rootdir/create_root_structure.mk + endif # dont_bother ifndef subdir_makefiles_total @@ -305,9 +308,6 @@ $(info [$(call inc_and_print,subdir_makefiles_inc)/$(subdir_makefiles_total)] finishing legacy Make module parsing ...) -# Create necessary directories and symlinks in the root filesystem -include system/core/rootdir/create_root_structure.mk - # ------------------------------------------------------------------- # All module makefiles have been included at this point. # -------------------------------------------------------------------