summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2011-02-11 19:51:29 +0000
committerDave Chapman <dave@dchapman.com>2011-02-11 19:51:29 +0000
commit9e638c7bc8f1e42769e2df49ea43eff6c5e05db1 (patch)
treebfab09a063b861f49ec7098912a38696278d8eed /debian/rules
parent751e922783a18aeaeed532bffac300f917f4e159 (diff)
downloadrockbox-9e638c7bc8f1e42769e2df49ea43eff6c5e05db1.tar.gz
rockbox-9e638c7bc8f1e42769e2df49ea43eff6c5e05db1.tar.bz2
rockbox-9e638c7bc8f1e42769e2df49ea43eff6c5e05db1.zip
FS#11924 - Use separate targets for RaaA devices. This changes tools/configure to present the (currently four) possible RaaA targets as separate menu items instead of a single "Application" item with a follow-up question.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29286 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 380d0d21b8..7df96d22ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,13 @@
#!/usr/bin/make -f
-CONFIGURE_OPTIONS := --platform=M --lcdwidth=800 --lcdheight=480 --target=application --ram=8 --rbdir=/.rockbox --type=N
+# We deduce the target based on the available version of the Maemo SDK
+ifeq (1,$(shell pkg-config --atleast-version=5 maemo-version && echo 1))
+TARGET=nokian900
+else
+TARGET=nokian8xx
+endif
+
+CONFIGURE_OPTIONS := --target=$(TARGET) --lcdwidth=800 --lcdheight=480 --ram=8 --rbdir=/.rockbox --type=N
DESKTOP_DIR := `pkg-config --variable=desktopentrydir osso-af-settings`
export DH_VERBOSE=1