X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=debian%2Frules;h=e284f9b14431c474ad9e08951af6a163b43ee5bf;hp=c773a37d8ad8faa215e171d6a9e477936b9e4184;hb=b4644b367cd0a9c92d5c1474876b91cd94dd4fb3;hpb=245d4f8fa09e3ea603e892495c891e4b826c17dc diff --git a/debian/rules b/debian/rules index c773a37..e284f9b 100755 --- a/debian/rules +++ b/debian/rules @@ -9,8 +9,13 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 - - +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: @@ -22,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 $@ @@ -46,7 +51,8 @@ install: build # Add here commands to install the package into # debian/browser-switchboard. make DESTDIR=debian/browser-switchboard install - make -C config-ui 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 binary-indep: build install