summaryrefslogtreecommitdiff
Unidiff
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
@@ -67,13 +67,15 @@ ifeq ($(CONFIG_OPIE_NEW_ALLOC),y)
67 echo DEFINES += OPIE_NEW_MALLOC >> $@ 67 echo DEFINES += OPIE_NEW_MALLOC >> $@
68endif 68endif
69ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y) 69ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y)
70 echo DEFINES += OPIE_NO_SOUND_PCM_READ_BITS >> $@ 70 echo DEFINES += OPIE_NO_SOUND_PCM_READ_BITS >> $@
71endif 71endif
72 echo DEFINES += OPIE_SOUND_FRAGMENT_SHIFT=$(CONFIG_OPIE_SOUND_FRAGMENT_SHIFT) >> $@ 72 echo DEFINES += OPIE_SOUND_FRAGMENT_SHIFT=$(CONFIG_OPIE_SOUND_FRAGMENT_SHIFT) >> $@
73ifeq ($(CONFIG_OPIE_WE_VERSION_OVERRIDE),y)
73 echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@ 74 echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@
75endif
74$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages 76$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages
75 @echo Generating dependency information... 77 @echo Generating dependency information...
76# add to subdir-y, and add descend rules 78# add to subdir-y, and add descend rules
77 @cat $(TOPDIR)/packages | grep -v '^#' | \ 79 @cat $(TOPDIR)/packages | grep -v '^#' | \
78 awk '{print \ 80 awk '{print \
79 ".PHONY : " $$2 "\n" \ 81 ".PHONY : " $$2 "\n" \
diff --git a/config.in b/config.in
index 0b01f78..7ad5e51 100644
--- a/config.in
+++ b/config.in
@@ -137,13 +137,18 @@ config OPIE_NEW_ALLOC
137 137
138config OPIE_NO_SOUND_PCM_READ_BITS 138config OPIE_NO_SOUND_PCM_READ_BITS
139 boolean "There is not a pcm_read_bits io control" 139 boolean "There is not a pcm_read_bits io control"
140 default y if TARGET_SHARP 140 default y if TARGET_SHARP
141 default n 141 default n
142 142
143config OPIE_WE_VERSION_OVERRIDE
144 boolean "Override autodetection of wireless extension (WE) version
145 default n
146
143config OPIE_WE_VERSION 147config OPIE_WE_VERSION
148 depends OPIE_WE_VERSION_OVERRIDE
144 string "The wireless extension (WE) version to build against" 149 string "The wireless extension (WE) version to build against"
145 default "15" if ! TARGET_X86 150 default "15" if ! TARGET_X86
146 default "16" if TARGET_X86 151 default "16" if TARGET_X86
147 152
148endmenu 153endmenu
149 154