X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=debian%2Frules;h=358cfd6c39d2731723c16f590664be31ff389737;hp=70bd2b9dfa173f5397380a17f8a169f837c011db;hb=1714602dd2d50718f4a5361a17cba7d41e814056;hpb=2497219f7ea5a38f1a3094f03f34c41a38e74226 diff --git a/debian/rules b/debian/rules index 70bd2b9..358cfd6 100755 --- a/debian/rules +++ b/debian/rules @@ -9,14 +9,13 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -# Optimize for N8x0 CPUs if building for armel -ifeq ($(DEB_HOST_ARCH),armel) - EXTRA_CFLAGS += -march=arm1136jf-s - # Use Thumb for smaller binaries if requested - ifneq (,$(filter thumb,$(DEB_BUILD_OPTIONS))) - EXTRA_CFLAGS += -mthumb - endif -endif +#ifeq ($(DEB_HOST_ARCH),armel) + #EXTRA_CFLAGS += -mcpu=arm1136jf-s + # Use Thumb for smaller binaries unless otherwise requested + #ifeq (,$(filter nothumb,$(DEB_BUILD_OPTIONS))) + # EXTRA_CFLAGS += -mthumb + #endif +#endif configure: configure-stamp configure-stamp: @@ -28,8 +27,8 @@ build: build-stamp build-stamp: configure-stamp dh_testdir - make - make -C config-ui + make EXTRA_CFLAGS="$(EXTRA_CFLAGS)" fremantle + make -C config-ui EXTRA_CFLAGS="$(EXTRA_CFLAGS)" fremantle-plugin touch $@ @@ -53,6 +52,8 @@ install: build # debian/browser-switchboard. make DESTDIR=debian/browser-switchboard install make -C config-ui DESTDIR=../debian/browser-switchboard install + install -c -m 0644 debian/browser-switchboard-cp.desktop debian/browser-switchboard/usr/share/applications/hildon-control-panel + install -c -m 0644 debian/microb.desktop debian/browser-switchboard/usr/share/applications/hildon binary-indep: build install