[rdc] base-files: gracefully handle empty variables in preinit (#11155)
[openwrt.git] / include / package-bin.mk
index 6ee7aed..96c1aef 100644 (file)
@@ -7,6 +7,7 @@
 
 ifeq ($(DUMP),)
   define BuildTarget/bin
+    ifeq ($(if $(VARIANT),$(BUILD_VARIANT)),$(VARIANT))
     ifdef Package/$(1)/install
       ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
         compile: install-bin-$(1)
@@ -16,6 +17,7 @@ ifeq ($(DUMP),)
                @echo "WARNING: skipping $(1) -- package not selected"
       endif
     endif
+    endif
 
     install-bin-$(1): $(STAMP_BUILT)
          rm -rf $(BIN_DIR)/$(1)
This page took 0.020273 seconds and 4 git commands to generate.