summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-08-13 18:44:57 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-08-16 16:26:31 +0200
commitc9f12e88eb8a4adcf6871994fde0d6153d695504 (patch)
treee16a579bb93c359479de37fc10309c13233e85c6
parent42d728e5b85b836a8cd282106ee8eafdd2fff318 (diff)
downloaddevice_goldelico_gta04-c9f12e88eb8a4adcf6871994fde0d6153d695504.zip
device_goldelico_gta04-c9f12e88eb8a4adcf6871994fde0d6153d695504.tar.gz
device_goldelico_gta04-c9f12e88eb8a4adcf6871994fde0d6153d695504.tar.bz2
Android.mk cleanups
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--bootimg.mk4
-rw-r--r--bt-vendor/Android.mk2
-rw-r--r--gps/Android.mk7
-rw-r--r--lights/Android.mk7
4 files changed, 11 insertions, 9 deletions
diff --git a/bootimg.mk b/bootimg.mk
index f34bb06..b634f51 100644
--- a/bootimg.mk
+++ b/bootimg.mk
@@ -20,11 +20,11 @@ INSTALLED_BOOTABLE_TARGET := $(PRODUCT_OUT)/bootable.zip
INSTALLED_UBOOT_SCRIPT_MODULE := $(PRODUCT_OUT)/boot.scr
INSTALLED_UBOOT_SPLASH_MODULE := $(PRODUCT_OUT)/splash.rgb16z
+BUILT_RAMDISK_TARGET := $(INSTALLED_RAMDISK_TARGET)
+
.PHONY: bootable
bootable: $(INSTALLED_BOOTABLE_TARGET)
-BUILT_RAMDISK_TARGET := $(INSTALLED_RAMDISK_TARGET)
-
$(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_RAMDISK_FILES)
$(call pretty,"Target ram disk: $@")
$(hide) $(MKBOOTFS) $(TARGET_ROOT_OUT) > $@
diff --git a/bt-vendor/Android.mk b/bt-vendor/Android.mk
index 10350b6..2f4c7d1 100644
--- a/bt-vendor/Android.mk
+++ b/bt-vendor/Android.mk
@@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-LOCAL_PATH:= $(call my-dir)
+LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
diff --git a/gps/Android.mk b/gps/Android.mk
index 65b4fff..812f5bc 100644
--- a/gps/Android.mk
+++ b/gps/Android.mk
@@ -13,16 +13,17 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-LOCAL_PATH:= $(call my-dir)
+LOCAL_PATH := $(call my-dir)
+
include $(CLEAR_VARS)
LOCAL_SRC_FILES := gta04_gps.c nmea.c
LOCAL_SHARED_LIBRARIES := liblog
-
LOCAL_PRELINK_MODULE := false
+
+LOCAL_MODULE := gps.gta04
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE := gps.gta04
include $(BUILD_SHARED_LIBRARY)
diff --git a/lights/Android.mk b/lights/Android.mk
index b3843b5..48eb8ab 100644
--- a/lights/Android.mk
+++ b/lights/Android.mk
@@ -13,16 +13,17 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-LOCAL_PATH:= $(call my-dir)
+LOCAL_PATH := $(call my-dir)
+
include $(CLEAR_VARS)
LOCAL_SRC_FILES := gta04_lights.c
LOCAL_SHARED_LIBRARIES := liblog
-
LOCAL_PRELINK_MODULE := false
+
+LOCAL_MODULE := lights.gta04
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE := lights.gta04
include $(BUILD_SHARED_LIBRARY)