summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2013-04-15 17:12:19 +0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-07-03 12:10:57 -0700
commit294ab115b287d31eb4c45ad1515be2d1158c8d4d (patch)
treee6529c46e2a7395bf101bb01275dbd948cf3c454 /envsetup.sh
parent4c66ff45e65ba83c734396f472d32da7b1d41d1b (diff)
downloadbuild-294ab115b287d31eb4c45ad1515be2d1158c8d4d.zip
build-294ab115b287d31eb4c45ad1515be2d1158c8d4d.tar.gz
build-294ab115b287d31eb4c45ad1515be2d1158c8d4d.tar.bz2
Fix /system/app/$app.odex not updated issue
$(built_odex) depends on $(LOCAL_BUILT_MODULE) but doesn't have any build recipe. It is built by the rules of $(LOCAL_BUILT_MODULE) that results in a subtle bug: $(built_odex) is always newer than $(LOCAL_BUILT_MODULE) if $(LOCAL_BUILT_MODULE) rebuilt. Therefore 'make' thinks the targets (/system/app/$app.odex) depending on $(built_odex) don't need to be updated. It seems an allegedly optimization bug of 'make'. The simple fix is to explicitly add $(LOCAL_BUILT_MODULE) as a dependency of $(installed_odex). Conflicts: core/base_rules.mk Change-Id: Ia62695eeb9a9709f7115301cbf27eb1fd77a1573
Diffstat (limited to 'envsetup.sh')
0 files changed, 0 insertions, 0 deletions