12345678910111213141516171819202122232425262728293031 |
- # This file is auto generated by ./parser.pl, don't modify~~
- ROOT_DIR:=/home/sea/ziguang/cecport/nonetv/cecport_nonetv
- include $(ROOT_DIR)/env.conf
- CFLAGS_TMP = CFLAGS
- ifeq ($(VERSION).$(PATCHLEVEL).$(SUBLEVEL), $(filter $(VERSION).$(PATCHLEVEL).$(SUBLEVEL),2.6.27 2.6.35 3.0.8))
- CFLAGS_TMP = EXTRA_CFLAGS
- endif
- ifneq ($(filter drivers kernel,$(subst /, ,$(CURDIR))),)
- ifeq ($(filter aps,$(subst /, ,$(CURDIR))), aps)
- $(error both aps and drivers found???)
- else
- # include by driver
- $(CFLAGS_TMP) += -include project.h
- endif
- else
- ifeq ($(filter aps,$(subst /, ,$(CURDIR))), aps)
- # include by ap
- APSDIR=$(shell echo `pwd` | sed 's/aps\/.*/aps/g')
- $(CFLAGS_TMP) += -include $(APSDIR)/include/project.h
- else
- # include by quickbuild
- ifneq ($(filter qb,$(subst /, ,$(CURDIR))), qb)
- #$(error aps, drivers and qb not found???)
- endif
- endif
- endif
|