summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make2
-rw-r--r--config.in5
2 files changed, 7 insertions, 0 deletions
diff --git a/Rules.make b/Rules.make
index 3f494ce..94a79e7 100644
--- a/Rules.make
+++ b/Rules.make
@@ -72,3 +72,5 @@ endif
echo DEFINES += OPIE_SOUND_FRAGMENT_SHIFT=$(CONFIG_OPIE_SOUND_FRAGMENT_SHIFT) >> $@
+ifeq ($(CONFIG_OPIE_WE_VERSION_OVERRIDE),y)
echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@
+endif
$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages
diff --git a/config.in b/config.in
index 0b01f78..7ad5e51 100644
--- a/config.in
+++ b/config.in
@@ -142,3 +142,8 @@ config OPIE_NO_SOUND_PCM_READ_BITS
+config OPIE_WE_VERSION_OVERRIDE
+ boolean "Override autodetection of wireless extension (WE) version
+ default n
+
config OPIE_WE_VERSION
+ depends OPIE_WE_VERSION_OVERRIDE
string "The wireless extension (WE) version to build against"