From a644e49add322ecd83ce543bdb98c25cb1b23138 Mon Sep 17 00:00:00 2001 From: Vitaliy Cherepanov Date: Thu, 20 Mar 2014 11:57:52 +0400 Subject: [PATCH] [FIX] gbs build error fix problem with unterminated #if Change-Id: Ia2410b3f2659e1fd45a8545b12e4d75b4c435a47 Signed-off-by: Vitaliy Cherepanov --- Makefile | 2 ++ packaging/swap-probe.spec | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.7.4