author | mickeyl <mickeyl> | 2004-02-23 18:35:36 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-02-23 18:35:36 (UTC) |
commit | ab0203a43a30598774d8d8a1cf32075817d0dceb (patch) (side-by-side diff) | |
tree | 581a32df8fd0c5b2e72eae9e8cc1b851dc18866d /Rules.make | |
parent | 155281d14ac505d69ee0be82a5dbed97bc3fa9b7 (diff) | |
download | opie-ab0203a43a30598774d8d8a1cf32075817d0dceb.zip opie-ab0203a43a30598774d8d8a1cf32075817d0dceb.tar.gz opie-ab0203a43a30598774d8d8a1cf32075817d0dceb.tar.bz2 |
introduce configuration option OPIE_WE_VERSION
Use '15' for linux versions < 2.4.23 / 2.5.70
Use '16' for linux versions >= 2.4.23 / 2.5.70
-rw-r--r-- | Rules.make | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -52,12 +52,13 @@ 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) >> $@ + echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@ $(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" \ |