-rw-r--r-- | Rules.make | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -27,17 +27,38 @@ else echo contains\( CONFIG, quick-app \) \{ >> $@ echo CONFIG -= quick-app >> $@ echo CONFIG += quick-app-bin >> $@ echo \} >> $@ endif ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y) echo CONFIG += no-override >> $@ endif - +ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) + echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ +endif +ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) + echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ +endif +ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y) + echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@ +endif +ifeq ($(CONFIG_QT_QWS_ALLOW_CLOCK),y) + echo DEFINES += QT_QWS_ALLOW_OVERCLOCK >> $@ +endif +ifeq ($(CONFIG_OPIE_HIGH_RES_SMALL_PHY),y) + echo DEFINES += OPIE_HIGH_RES_SMALL_PHY >> $@ +endif +ifeq ($(CONFIG_OPIE_NEW_ALLOC),y) + echo DEFINES += OPIE_NEW_ALLOC >> $@ +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) >> $@ $(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" \ "subdir-$$(" $$1 ") += " $$2 "\n\n"; \ print $$2 " : " $$2 "/Makefile\n\t$$(call descend,$$@,$(filter-out $$@,$$(filter-out $$@,$$(MAKECMDGOALS))))\n"; }' > $(TOPDIR)/.depends |