Create build/object directory before starting make 75/213175/2 accepted/tizen/unified/20190903.052454 submit/tizen/20190902.235307 submit/tizen/20190917.234832
authorYu <jiung.yu@samsung.com>
Mon, 2 Sep 2019 08:03:25 +0000 (17:03 +0900)
committerYu <jiung.yu@samsung.com>
Mon, 2 Sep 2019 23:37:24 +0000 (08:37 +0900)
Description:This is adhoc solution for mass build
Sometimes there's build failure like below
"Fatal error: can't create objects/prod/dnssd_ipc.c.o: No such file or directory"
It seems that build system started to build with source before creating
objects/prod directory at that point. It is created by "setup" target.

Change-Id: Ie9ae70168a0c90965fed5e8043a1a3cfa51ae8ae
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
packaging/mdnsresponder.spec

index 902e2df..c0a36e1 100755 (executable)
@@ -1,7 +1,7 @@
 Name:       mdnsresponder
 Summary:    DNS Service Discovery service with dns-sd library
 Version:    878.70.2
-Release:    1
+Release:    2
 Group:      System/Network
 License:    Apache-2.0 or BSD-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -47,6 +47,9 @@ CONFIG_TIZEN_64BIT=y; export CONFIG_TIZEN_64BIT
 %endif
 
 cd mDNSPosix
+#You should check below before change make flags or Makefile
+mkdir -p object/prod
+mkdir -p build/prod
 make os=tizen %{?_smp_mflags}
 
 %install