summaryrefslogtreecommitdiff
path: root/package/build.macos-64
diff options
context:
space:
mode:
authorKitae Kim <kt920.kim@samsung.com>2014-04-04 10:30:13 +0900
committerKitae Kim <kt920.kim@samsung.com>2014-04-04 11:09:29 +0900
commitf5425ce5daf5d8058b18128da2ff5a90e58d59bb (patch)
tree17846513e4e6fd55bd0ba0085daba4fa65c4c9d8 /package/build.macos-64
parent020a0b168efcc61151a385d2274c79f96358ab56 (diff)
downloadqemu-f5425ce5daf5d8058b18128da2ff5a90e58d59bb.tar.gz
qemu-f5425ce5daf5d8058b18128da2ff5a90e58d59bb.tar.bz2
qemu-f5425ce5daf5d8058b18128da2ff5a90e58d59bb.zip
package: modified build scripts on Windows and Mac
As emulator-lib-dev package is updated, remove unnecessary cflags and ldflags. Change-Id: I05eaafc040f7b7342b7ab4d3aa6c27f2000153cd Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Diffstat (limited to 'package/build.macos-64')
-rwxr-xr-xpackage/build.macos-6430
1 files changed, 5 insertions, 25 deletions
diff --git a/package/build.macos-64 b/package/build.macos-64
index f810429fef..2d2afd374c 100755
--- a/package/build.macos-64
+++ b/package/build.macos-64
@@ -25,29 +25,10 @@ prepare()
exit 1
fi
- export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$ROOTDIR/glib2/lib/pkgconfig:$ROOTDIR/curl/lib/pkgconfig:$ROOTDIR/libffi/lib/pkgconfig:$ROOTDIR/libiconv/lib/pkgconfig:$ROOTDIR/libidn/lib/pkgconfig:$ROOTDIR/libxml2/lib/pkgconfig:$ROOTDIR/ncurses/lib/pkgconfig:$ROOTDIR/openssl/lib/pkgconfig:$ROOTDIR/pixman/lib/pkgconfig:$ROOTDIR/zlib/lib/pkgconfig:$ROOTDIR/libav/lib/pkgconfig
-
- BUILD_CFLAGS="--extra-cflags=-I$ROOTDIR/curl/include "
- BUILD_CFLAGS+="--extra-cflags=-I$ROOTDIR/libffi/include "
- BUILD_CFLAGS+="--extra-cflags=-I$ROOTDIR/glib2/include/glib-2.0 "
- BUILD_CFLAGS+="--extra-cflags=-I$ROOTDIR/libiconv/include "
- BUILD_CFLAGS+="--extra-cflags=-I$ROOTDIR/libidn/include "
- BUILD_CFLAGS+="--extra-cflags=-I$ROOTDIR/libxml2/include "
- BUILD_CFLAGS+="--extra-cflags=-I$ROOTDIR/ncurses/include "
- BUILD_CFLAGS+="--extra-cflags=-I$ROOTDIR/openssl/include "
- BUILD_CFLAGS+="--extra-cflags=-I$ROOTDIR/pixman/include "
- BUILD_CFLAGS+="--extra-cflags=-I$ROOTDIR/zlib/include "
-
- BUILD_LDFLAGS="--extra-ldflags=-L$ROOTDIR/curl/lib "
- BUILD_LDFLAGS+="--extra-ldflags=-L$ROOTDIR/libffi/lib "
- BUILD_LDFLAGS+="--extra-ldflags=-L$ROOTDIR/glib2/lib "
- BUILD_LDFLAGS+="--extra-ldflags=-L$ROOTDIR/libiconv/lib "
- BUILD_LDFLAGS+="--extra-ldflags=-L$ROOTDIR/libidn/lib "
- BUILD_LDFLAGS+="--extra-ldflags=-L$ROOTDIR/libxml2/lib "
- BUILD_LDFLAGS+="--extra-ldflags=-L$ROOTDIR/ncurses/lib "
- BUILD_LDFLAGS+="--extra-ldflags=-L$ROOTDIR/openssl/lib "
- BUILD_LDFLAGS+="--extra-ldflags=-L$ROOTDIR/pixman/lib "
- BUILD_LDFLAGS+="--extra-ldflags=-L$ROOTDIR/zlib/lib "
+ export PKG_CONFIG_PATH=$ROOTDIR/glib2/lib/pkgconfig:$ROOTDIR/curl/lib/pkgconfig:$ROOTDIR/libffi/lib/pkgconfig:$ROOTDIR/libidn/lib/pkgconfig:$ROOTDIR/libxml2/lib/pkgconfig:$ROOTDIR/ncurses/lib/pkgconfig:$ROOTDIR/openssl/lib/pkgconfig:$ROOTDIR/pixman/lib/pkgconfig:$ROOTDIR/zlib/lib/pkgconfig:$ROOTDIR/libav/lib/pkgconfig:$PKG_CONFIG_PATH
+
+ BUILD_CFLAGS="--extra-cflags=-I$ROOTDIR/libiconv/include "
+ BUILD_LDFLAGS="--extra-ldflags=-L$ROOTDIR/libiconv/lib "
}
modify_files(){
@@ -87,14 +68,13 @@ modify_files(){
# sed 's/export PKG_CONFIG_PATH/ export PKG_CONFIG_PATH/g' $SRCDIR/Makefile.target > tmp
# cp -f tmp $SRCDIR/Makefile.target
# rm -f tmp
-
}
# build
build()
{
prepare
- modify_files
+ #modify_files
cd $SRCDIR/tizen/