Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e086ae04 authored by Yifan Hong's avatar Yifan Hong
Browse files

require-artifacts-in-path does not require PRODUCT_NAME/BRAND.

Also make generic_ramdisk.mk not to define them.

Test: m nothing
Change-Id: I5eff49abebe4194e3eba78557e5765e6ef2231e6
parent 63d3835f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -160,15 +160,16 @@ endif
$(call import-products, $(current_product_makefile))
endif  # Import all or just the current product makefile

# Quick check
$(check-all-products)

# Import all the products that have made artifact path requirements, so that we can verify
# the artifacts they produce.
# These are imported after check-all-products because some of them might not be real products.
$(foreach makefile,$(ARTIFACT_PATH_REQUIREMENT_PRODUCTS),\
  $(if $(filter-out $(makefile),$(PRODUCTS)),$(eval $(call import-products,$(makefile))))\
)

# Quick check
$(check-all-products)

ifneq ($(filter dump-products, $(MAKECMDGOALS)),)
$(dump-products)
endif
+0 −3
Original line number Diff line number Diff line
@@ -19,9 +19,6 @@
# This makefile checks that other makefiles must not install things to the
# ramdisk.

PRODUCT_NAME := generic_ramdisk
PRODUCT_BRAND := generic

# Ramdisk
PRODUCT_PACKAGES += \
    init_first_stage \