forked from mirrors/linphone-iphone
Revert "gsm builder: Rewrite veryclean target and correctly build targetted architecture"
This reverts commit 5e60c1864e.
Conflicts:
submodules/build/builders.d/gsm.mk
This commit is contained in:
parent
5ef50ff268
commit
f953b328ea
1 changed files with 4 additions and 7 deletions
|
|
@ -3,9 +3,7 @@
|
|||
|
||||
gsm_dir?=externals/gsm
|
||||
|
||||
#GSM build is a bit different: since there is only a Makefile,
|
||||
#we must force CC to contains CFLAGS to compile all architectures
|
||||
#as expected
|
||||
|
||||
build-libgsm:
|
||||
cp -rf $(BUILDER_SRC_DIR)/$(gsm_dir) $(BUILDER_BUILD_DIR)/$(gsm_dir)
|
||||
rm -rf $(BUILDER_BUILD_DIR)/$(gsm_dir)/gsm/.git $(BUILDER_BUILD_DIR)/$(gsm_dir)/.git
|
||||
|
|
@ -14,13 +12,12 @@ build-libgsm:
|
|||
cd $(BUILDER_BUILD_DIR)/$(gsm_dir)\
|
||||
&& mkdir -p $(prefix)/include/gsm \
|
||||
&& host_alias=$(host) . $(BUILDER_SRC_DIR)/build/$(config_site) \
|
||||
&& make -j1 CC="$${CC}" INSTALL_ROOT=$(prefix) GSM_INSTALL_INC=$(prefix)/include/gsm install
|
||||
&& make -j1 CC="$${CC}" INSTALL_ROOT=$(prefix) GSM_INSTALL_INC=$(prefix)/include/gsm install
|
||||
|
||||
clean-libgsm:
|
||||
cd $(BUILDER_BUILD_DIR)/$(gsm_dir)\
|
||||
&& make clean
|
||||
|
||||
veryclean-libgsm:
|
||||
-rm -rf $(BUILD_DIR)/$(gsm_dir)
|
||||
|
||||
|
||||
-cd $(BUILDER_BUILD_DIR)/$(gsm_dir) \
|
||||
&& make uninstall
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue