From: Vitaliy Cherepanov Date: Thu, 20 Mar 2014 07:57:52 +0000 (+0400) Subject: [FIX] gbs build error X-Git-Tag: Tizen_SDK_2.3~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=a644e49add322ecd83ce543bdb98c25cb1b23138;p=platform%2Fcore%2Fsystem%2Fswap-probe.git [FIX] gbs build error fix problem with unterminated #if Change-Id: Ia2410b3f2659e1fd45a8545b12e4d75b4c435a47 Signed-off-by: Vitaliy Cherepanov --- diff --git a/Makefile b/Makefile index 06d34fe..4659030 100644 --- a/Makefile +++ b/Makefile @@ -149,6 +149,8 @@ $(ASM_OBJ): $(ASM_SRC) GENERATED_HEADERS = include/api_id_mapping.h include/api_id_list.h include/id_list headers: $(GENERATED_HEADERS) +rmheaders: + rm $(GENERATED_HEADERS) include/api_id_mapping.h: ./scripts/gen_api_id_mapping_header.awk include/api_id_list.h: ./scripts/gen_api_id_mapping_header_list.awk diff --git a/packaging/swap-probe.spec b/packaging/swap-probe.spec index c7ba5a7..e7773e4 100644 --- a/packaging/swap-probe.spec +++ b/packaging/swap-probe.spec @@ -24,6 +24,8 @@ This library will be installed in target. %setup -q -n %{name}_%{version} %build +make rmheaders +make headers make -j %install