summaryrefslogtreecommitdiffstats
path: root/toolbox/Android.mk
diff options
context:
space:
mode:
authorAndrea Mennillo <handymenny@outlook.com>2015-03-17 15:39:27 +0100
committerDees Troy <dees_troy@teamw.in>2015-03-19 17:17:28 +0100
commit7d66ce57b61ee8b943ebca245b3beca2d7d09575 (patch)
tree19bb5cc65e000aa232d16a7796f91477986e7c21 /toolbox/Android.mk
parentFix invalid memory access when rendering a ttf glyph with 'left' < 0 (diff)
downloadandroid_bootable_recovery-7d66ce57b61ee8b943ebca245b3beca2d7d09575.tar
android_bootable_recovery-7d66ce57b61ee8b943ebca245b3beca2d7d09575.tar.gz
android_bootable_recovery-7d66ce57b61ee8b943ebca245b3beca2d7d09575.tar.bz2
android_bootable_recovery-7d66ce57b61ee8b943ebca245b3beca2d7d09575.tar.lz
android_bootable_recovery-7d66ce57b61ee8b943ebca245b3beca2d7d09575.tar.xz
android_bootable_recovery-7d66ce57b61ee8b943ebca245b3beca2d7d09575.tar.zst
android_bootable_recovery-7d66ce57b61ee8b943ebca245b3beca2d7d09575.zip
Diffstat (limited to 'toolbox/Android.mk')
-rw-r--r--toolbox/Android.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk
index 9e7bbc4e6..e58b755e5 100644
--- a/toolbox/Android.mk
+++ b/toolbox/Android.mk
@@ -188,6 +188,13 @@ else
ALL_TOOLS := $(OUR_TOOLS)
endif
+TOOLS_H := $(intermediates)/tools.h
+$(TOOLS_H): PRIVATE_TOOLS := $(ALL_TOOLS)
+$(TOOLS_H): PRIVATE_CUSTOM_TOOL = echo "/* file generated automatically */" > $@ ; for t in $(PRIVATE_TOOLS) ; do echo "TOOL($$t)" >> $@ ; done
+$(TOOLS_H): $(LOCAL_PATH)/Android.mk
+$(TOOLS_H):
+ $(transform-generated-source)
+
ifeq ($(TWHAVE_SELINUX), true)
# toolbox setenforce is used during init in non-symlink form, so it was
# required to be included as part of the suite above. if busybox already
@@ -196,13 +203,6 @@ ifeq ($(TWHAVE_SELINUX), true)
ALL_TOOLS := $(TEMP_TOOLS)
endif
-TOOLS_H := $(intermediates)/tools.h
-$(TOOLS_H): PRIVATE_TOOLS := $(ALL_TOOLS)
-$(TOOLS_H): PRIVATE_CUSTOM_TOOL = echo "/* file generated automatically */" > $@ ; for t in $(PRIVATE_TOOLS) ; do echo "TOOL($$t)" >> $@ ; done
-$(TOOLS_H): $(LOCAL_PATH)/Android.mk
-$(TOOLS_H):
- $(transform-generated-source)
-
# Make /sbin/toolbox launchers for each tool
SYMLINKS := $(addprefix $(TARGET_RECOVERY_ROOT_OUT)/sbin/,$(ALL_TOOLS))
$(SYMLINKS): TOOLBOX_BINARY := $(LOCAL_MODULE_STEM)