summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Gonzalez2012-06-01 13:46:34 -0500
committerTony Lofthouse2012-07-30 12:56:24 -0500
commite72411ed59c25391dbc4d5f7af595e25900ae7a4 (patch)
tree9be2ec2d060bb90ddb6e2a866eaeee4c6d252057 /Android.mk
parentea8f31fa6aee1b13577b254a74daf35e34641e4a (diff)
downloaddevice-ti-proprietary-open-e72411ed59c25391dbc4d5f7af595e25900ae7a4.tar.gz
device-ti-proprietary-open-e72411ed59c25391dbc4d5f7af595e25900ae7a4.tar.xz
device-ti-proprietary-open-e72411ed59c25391dbc4d5f7af595e25900ae7a4.zip
SGX prebuilt binaries: Untar to and copy from intermediate directories.
This will untar SGX prebuilt binaries to an intermediate directory and install them in the Android filesystem without polluting the git tree with untracked files. Change-Id: I806a9aa4a939b6109399df999603706e3c34f17e
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index ce2221f..96a5cf3 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,9 +1,20 @@
1LOCAL_PATH := $(my-dir) 1LOCAL_PATH := $(my-dir)
2$(hide $(shell $(LOCAL_PATH)/untar.sh $(LOCAL_PATH)/omap4 sgx $(LOCAL_PATH)/omap4/sgx.tgz)) 2img-sgx.untarred_intermediates := $(call intermediates-dir-for, FAKE, img-sgx.untarred)
3img-sgx.untarred_timestamp := $(img-sgx.untarred_intermediates)/stamp
4img-sgx.untarred_bin := $(img-sgx.untarred_intermediates)/sgx
5img-sgx.tar := $(LOCAL_PATH)/$(TARGET_BOARD_PLATFORM)/sgx.tgz
6
3$(hide $(shell $(LOCAL_PATH)/untar.sh $(LOCAL_PATH)/wl12xx wpan $(LOCAL_PATH)/wl12xx/wpan.tgz)) 7$(hide $(shell $(LOCAL_PATH)/untar.sh $(LOCAL_PATH)/wl12xx wpan $(LOCAL_PATH)/wl12xx/wpan.tgz))
4 8
5include $(call all-subdir-makefiles) 9include $(call all-subdir-makefiles)
6 10
11$(img-sgx.untarred_timestamp) : $(img-sgx.tar)
12 @echo "Unzip $(dir $@) <- $<"
13 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@)
14 $(hide) tar -C $(dir $@) -xzf $<
15 $(hide) touch $@
16
17
7# Install Ducati from the TGZ defined in the device-inherited mk file 18# Install Ducati from the TGZ defined in the device-inherited mk file
8############################################# 19#############################################
9ifneq ($(DUCATI_TGZ),) 20ifneq ($(DUCATI_TGZ),)