OSDN Git Service

Use packages.mk from the product dir if exists
[android-x86/device-generic-common.git] / x86.mk
diff --git a/x86.mk b/x86.mk
index a852186..6c3ec66 100644 (file)
--- a/x86.mk
+++ b/x86.mk
@@ -21,6 +21,8 @@
 PRODUCT_PROPERTY_OVERRIDES := \
     ro.com.android.dateformat=MM-dd-yyyy \
 
+$(call inherit-product,$(LOCAL_PATH)/device.mk)
+
 # Get a list of languages.
 $(call inherit-product,$(SRC_TARGET_DIR)/product/locales_full.mk)
 
@@ -29,6 +31,3 @@ $(call inherit-product,$(SRC_TARGET_DIR)/product/generic.mk)
 
 # Get some sounds
 $(call inherit-product-if-exists,frameworks/base/data/sounds/AudioPackage6.mk)
-
-$(call inherit-product,$(LOCAL_PATH)/device.mk)
-$(call inherit-product,$(LOCAL_PATH)/packages.mk)