android: xmlpool: cleanup the generation rules
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Apr 2015 14:38:57 +0000 (15:38 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Apr 2015 14:56:32 +0000 (15:56 +0100)
 - Do not attempt to create the save folder twice - both dir $@ and
PRIVATE_LOCALEDIR point to the same place.
 - Use @ and $(hide), for mkdir and python, to avoid spamming the
output.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/drivers/dri/common/Android.mk

index f4c06e039b7e83699cd3e9beaea803642705d4fa..a7fcd6d572a78c3d602d29e4020659dcd82df59a 100644 (file)
@@ -87,9 +87,8 @@ $(MESA_DRI_OPTIONS_H): PRIVATE_TEMPLATE_HEADER := $(LOCAL_PATH)/xmlpool/t_option
 $(MESA_DRI_OPTIONS_H): PRIVATE_MO_FILES := $(MESA_DRI_OPTIONS_LANGS:%=$(intermediates)/xmlpool/%/LC_MESSAGES/options.mo)
 .SECONDEXPANSION:
 $(MESA_DRI_OPTIONS_H): $$(PRIVATE_SCRIPT) $$(PRIVATE_TEMPLATE_HEADER) $$(PRIVATE_MO_FILES)
-       mkdir -p $(dir $@)
-       mkdir -p $(PRIVATE_LOCALEDIR)
-       $(MESA_PYTHON2) $(PRIVATE_SCRIPT) $(PRIVATE_TEMPLATE_HEADER) \
+       @mkdir -p $(dir $@)
+       $(hide) $(MESA_PYTHON2) $(PRIVATE_SCRIPT) $(PRIVATE_TEMPLATE_HEADER) \
                $(PRIVATE_LOCALEDIR) $(MESA_DRI_OPTIONS_LANGS) > $@
 
 include $(MESA_COMMON_MK)