-rw-r--r-- | Rules.make | 2 | ||||
-rw-r--r-- | config.in | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -67,13 +67,15 @@ ifeq ($(CONFIG_OPIE_NEW_ALLOC),y) echo DEFINES += OPIE_NEW_MALLOC >> $@ endif ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y) echo DEFINES += OPIE_NO_SOUND_PCM_READ_BITS >> $@ 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 @echo Generating dependency information... # add to subdir-y, and add descend rules @cat $(TOPDIR)/packages | grep -v '^#' | \ awk '{print \ ".PHONY : " $$2 "\n" \ @@ -137,13 +137,18 @@ config OPIE_NEW_ALLOC config OPIE_NO_SOUND_PCM_READ_BITS boolean "There is not a pcm_read_bits io control" default y if TARGET_SHARP default n +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" default "15" if ! TARGET_X86 default "16" if TARGET_X86 endmenu |