diff --git a/BUILD.dtc b/BUILD.dtc index 81ecf50c10f6..6c50a3001ade 100644 --- a/BUILD.dtc +++ b/BUILD.dtc @@ -10,6 +10,7 @@ cc_library( "libfdt/*.h", "libfdt/*.c", ]), + target_compatible_with = ["@platforms//os:linux"], visibility = ["//visibility:public"], ) @@ -48,6 +49,7 @@ cc_library( ] + glob(["*.h"]), includes = ["."], deps = [":libfdt"], + target_compatible_with = ["@platforms//os:linux"], visibility = ["//visibility:public"], ) @@ -68,6 +70,7 @@ cc_binary( ] + glob(["*.h"]), includes = ["."], deps = [":libfdt", ":dtc_gen"], + target_compatible_with = ["@platforms//os:linux"], visibility = ["//visibility:public"], ) @@ -82,6 +85,7 @@ cc_binary( "version_non_gen.h", ], deps = [":libfdt"], + target_compatible_with = ["@platforms//os:linux"], visibility = ["//visibility:public"], ) @@ -96,6 +100,7 @@ cc_binary( "version_non_gen.h", ], deps = [":libfdt"], + target_compatible_with = ["@platforms//os:linux"], visibility = ["//visibility:public"], ) @@ -110,6 +115,7 @@ cc_binary( "version_non_gen.h", ], deps = [":libfdt"], + target_compatible_with = ["@platforms//os:linux"], visibility = ["//visibility:public"], ) @@ -124,6 +130,7 @@ cc_binary( "version_non_gen.h", ], deps = [":libfdt"], + target_compatible_with = ["@platforms//os:linux"], visibility = ["//visibility:public"], ) @@ -138,6 +145,7 @@ cc_binary( "version_non_gen.h", ], deps = [":libfdt"], + target_compatible_with = ["@platforms//os:linux"], visibility = ["//visibility:public"], )