diff options
author | John Crispin <blogic@openwrt.org> | 2013-06-21 16:54:37 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-06-21 16:54:37 +0000 |
commit | f1b4824c865b228039d84b2605b2e7e4f34cddeb (patch) | |
tree | 37c9cbe251e4fb790aaa72e862c35822be30b491 /package/kernel/lantiq/ltq-hcd/src/Makefile | |
parent | d2642de7494bba312bbb22cfeb3ad77130a10047 (diff) | |
download | master-187ad058-f1b4824c865b228039d84b2605b2e7e4f34cddeb.tar.gz master-187ad058-f1b4824c865b228039d84b2605b2e7e4f34cddeb.tar.bz2 master-187ad058-f1b4824c865b228039d84b2605b2e7e4f34cddeb.zip |
packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/lantiq/ltq-hcd/src/Makefile')
-rw-r--r-- | package/kernel/lantiq/ltq-hcd/src/Makefile | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-hcd/src/Makefile b/package/kernel/lantiq/ltq-hcd/src/Makefile new file mode 100644 index 0000000000..153fd42dc4 --- /dev/null +++ b/package/kernel/lantiq/ltq-hcd/src/Makefile @@ -0,0 +1,74 @@ +ltq_hcd_$(BUILD_VARIANT)-objs := ifxusb_driver.o ifxusb_ctl.o ifxusb_cif.o \ + ifxusb_cif_h.o ifxhcd.o ifxhcd_es.o \ + ifxhcd_intr.o ifxhcd_queue.o +obj-m = ltq_hcd_$(BUILD_VARIANT).o + +ifeq ($(BUILD_VARIANT),danube) + EXTRA_CFLAGS += -D__IS_DANUBE__ +endif + +ifeq ($(BUILD_VARIANT),ase) + EXTRA_CFLAGS += -D__IS_AMAZON_SE__ +endif + +ifeq ($(BUILD_VARIANT),ar9) + EXTRA_CFLAGS += -D__IS_AR9__ + EXTRA_CFLAGS += -D__IS_DUAL__ +endif + +ifeq ($(BUILD_VARIANT),vr9) + EXTRA_CFLAGS += -D__IS_VR9__ + EXTRA_CFLAGS += -D__PHY_LONG_PREEMP__ + EXTRA_CFLAGS += -D__PINGSTOP_CTRL__ + EXTRA_CFLAGS += -D__PINGSTOP_BULK__ + EXTRA_CFLAGS += -D__IS_DUAL__ +endif + +ifeq ($(BUILD_VARIANT),ar10) + EXTRA_CFLAGS += -D__IS_AR10__ + EXTRA_CFLAGS += -D__PHY_LONG_PREEMP__ + EXTRA_CFLAGS += -D__PINGSTOP_CTRL__ + EXTRA_CFLAGS += -D__PINGSTOP_BULK__ +endif + +ifeq ($(CONFIG_USB_HOST_IFX_FORCE_USB11),y) + EXTRA_CFLAGS += -D__FORCE_USB11__ +endif +ifeq ($(CONFIG_USB_HOST_IFX_WITH_HS_ELECT_TST),y) + EXTRA_CFLAGS += -D__WITH_HS_ELECT_TST__ +endif +ifeq ($(CONFIG_USB_HOST_IFX_WITH_ISO),y) + EXTRA_CFLAGS += -D__EN_ISOC__ +endif +#ifeq ($(CONFIG_USB_HOST_IFX_UNALIGNED_ADJ),y) + EXTRA_CFLAGS += -D__UNALIGNED_BUF_ADJ__ +#endif +ifeq ($(CONFIG_USB_HOST_IFX_UNALIGNED_CHK),y) + EXTRA_CFLAGS += -D__UNALIGNED_BUF_CHK__ +endif +ifeq ($(CONFIG_USB_HOST_IFX_COC),y) + EXTRA_CFLAGS += -D__HOST_COC__ +endif + +# EXTRA_CFLAGS += -D__IS_FIRST__ +# EXTRA_CFLAGS += -D__IS_SECOND__ + +# EXTRA_CFLAGS += -D__EN_ISOC__ +# EXTRA_CFLAGS += -D__EN_ISOC_SPLIT__ +# EXTRA_CFLAGS += -D__EPQD_DESTROY_TIMEOUT__ +# EXTRA_CFLAGS += -D__INNAKSTOP_CTRL__ + +EXTRA_CFLAGS += -Dlinux -D__LINUX__ +EXTRA_CFLAGS += -D__IS_HOST__ +EXTRA_CFLAGS += -D__KERNEL__ +#EXTRA_CFLAGS += -D__DEBUG__ +#EXTRA_CFLAGS += -D__ENABLE_DUMP__ + +EXTRA_CFLAGS += -D__DYN_SOF_INTR__ +EXTRA_CFLAGS += -D__UEIP__ +EXTRA_CFLAGS += -D__DO_OC_INT__ +EXTRA_CFLAGS += -D__INNAKSTOP_BULK__ + +EXTRA_CFLAGS += -D__INTRNAKRETRY__ +EXTRA_CFLAGS += -D__INTRINCRETRY__ + |