diff options
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 9 |
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 @@ | |||
1 | #!/usr/bin/make -f | 1 | #!/usr/bin/make -f |
2 | 2 | ||
3 | CONFIGURE_OPTIONS := --platform=M --lcdwidth=800 --lcdheight=480 --target=application --ram=8 --rbdir=/.rockbox --type=N | 3 | # We deduce the target based on the available version of the Maemo SDK |
4 | ifeq (1,$(shell pkg-config --atleast-version=5 maemo-version && echo 1)) | ||
5 | TARGET=nokian900 | ||
6 | else | ||
7 | TARGET=nokian8xx | ||
8 | endif | ||
9 | |||
10 | CONFIGURE_OPTIONS := --target=$(TARGET) --lcdwidth=800 --lcdheight=480 --ram=8 --rbdir=/.rockbox --type=N | ||
4 | DESKTOP_DIR := `pkg-config --variable=desktopentrydir osso-af-settings` | 11 | DESKTOP_DIR := `pkg-config --variable=desktopentrydir osso-af-settings` |
5 | 12 | ||
6 | export DH_VERBOSE=1 | 13 | export DH_VERBOSE=1 |