define Package/rt2x00/Default
SUBMENU:=Wireless Drivers
- DEPENDS:=+kmod-mac80211
TITLE:=Ralink GPL Drivers
DESCRIPTION:=Ralink GPL Drivers for rt2x00 cards
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(LINUX_RELEASE)
define KernelPackage/rt2x00-lib
$(call Package/rt2x00/Default)
+ DEPENDS:=+kmod-mac80211
TITLE+= (LIB)
DESCRIPTION+= (LIB)
FILES:=$(PKG_BUILD_DIR)/rt2x00lib.$(LINUX_KMOD_SUFFIX)
define KernelPackage/rt2x00-pci
$(call Package/rt2x00/Default)
- DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-lib
+ DEPENDS:=@PCI_SUPPORT +kmod-rt2x00-lib
TITLE+= (PCI)
DESCRIPTION+= (PCI)
FILES:=$(PKG_BUILD_DIR)/rt2x00pci.$(LINUX_KMOD_SUFFIX)
define KernelPackage/rt2x00-usb
$(call Package/rt2x00/Default)
- DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib
+ DEPENDS:=@USB_SUPPORT +kmod-rt2x00-lib
TITLE+= (USB)
DESCRIPTION+= (USB)
FILES:=$(PKG_BUILD_DIR)/rt2x00usb.$(LINUX_KMOD_SUFFIX)
define KernelPackage/rt2400-pci
$(call Package/rt2x00/Default)
- DEPENDS+= +kmod-rt2x00-pci
+ DEPENDS:=+kmod-rt2x00-pci
TITLE+= (RT2400 PCI)
DESCRIPTION+= (RT2400 PCI)
FILES:=$(PKG_BUILD_DIR)/rt2400pci.$(LINUX_KMOD_SUFFIX)
define KernelPackage/rt2500-pci
$(call Package/rt2x00/Default)
- DEPENDS+= +kmod-rt2x00-pci
+ DEPENDS:=+kmod-rt2x00-pci
TITLE+= (RT2500 PCI)
DESCRIPTION+= (RT2500 PCI)
FILES:=$(PKG_BUILD_DIR)/rt2500pci.$(LINUX_KMOD_SUFFIX)
define KernelPackage/rt2500-usb
$(call Package/rt2x00/Default)
- DEPENDS+= +kmod-rt2x00-usb
+ DEPENDS:=+kmod-rt2x00-usb
TITLE+= (RT2500 USB)
DESCRIPTION+= (RT2500 USB)
FILES:=$(PKG_BUILD_DIR)/rt2500usb.$(LINUX_KMOD_SUFFIX)
define KernelPackage/rt61-pci
$(call Package/rt2x00/Default)
- DEPENDS+= +kmod-rt2x00-pci
+ DEPENDS:=+kmod-rt2x00-pci
TITLE+= (RT2x61 PCI)
DESCRIPTION+= (RT2x61 PCI)
FILES:=$(PKG_BUILD_DIR)/rt61pci.$(LINUX_KMOD_SUFFIX)
define KernelPackage/rt73-usb
$(call Package/rt2x00/Default)
- DEPENDS+= +kmod-rt2x00-usb
+ DEPENDS:=+kmod-rt2x00-usb
TITLE+= (RT73 USB)
DESCRIPTION+= (RT73 USB)
FILES:=$(PKG_BUILD_DIR)/rt73usb.$(LINUX_KMOD_SUFFIX)
# CONFIG_CPU5_WDT is not set
# CONFIG_CPU_FREQ is not set
CONFIG_CRYPTO_AES_586=m
+CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_DEV_GEODE=m
# CONFIG_CRYPTO_DEV_PADLOCK is not set
CONFIG_CRYPTO_TWOFISH_586=m
+
+static unsigned insize; /* valid bytes in inbuf */
+static unsigned inptr; /* index of next byte to be processed in inbuf */
++static unsigned long workspace;
+
+#define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
+
+ unsigned int lc; /* literal context bits */
+ unsigned int lp; /* literal pos state bits */
+ unsigned int pb; /* pos state bits */
-+ unsigned char* workspace;
+ unsigned int uncompressedSize = 0;
+ unsigned char* p;
+
+ get_byte();
+
+ // point it beyond uncompresedSize
-+ workspace = window + uncompressedSize;
++ //workspace = window + uncompressedSize;
+
+ /* decompress kernel */
-+ if (LzmaDecode(workspace, ~0, lc, lp, pb, &callback,
++ if (LzmaDecode((unsigned char*)workspace, ~0, lc, lp, pb, &callback,
+ (unsigned char*)window, uncompressedSize, &i) == LZMA_RESULT_OK)
+ return 0;
+ else
+
+ if ((u32)output & (CONFIG_PHYSICAL_ALIGN -1))
+ error("Destination address not CONFIG_PHYSICAL_ALIGN aligned");
-+ if (end > ((-__PAGE_OFFSET-(512 <<20)-1) & 0x7fffffff))
++ if ((workspace = end) > ((-__PAGE_OFFSET-(512 <<20)-1) & 0x7fffffff))
+ error("Destination address too large");
+#ifndef CONFIG_RELOCATABLE
+ if ((u32)output != LOAD_PHYSICAL_ADDR)
+# LZMA
+#
+quiet_cmd_lzma = LZMA $@
-+cmd_lzma = lzma e $< $@ -lc7 -lp0 -pb0
++cmd_lzma = bash -e scripts/lzma_kern $< $@ -lc7 -lp0 -pb0
+# to use lzmacomp,
+# cmd_lzma = lzmacomp $< 700 > $@
+diff -u linux/scripts/lzma_kern linux/scripts/lzma_kern
+--- linux/scripts/lzma_kern 2007-07-27 20:18:17.013014750 -0700
++++ linux/scripts/lzma_kern 2007-07-27 20:18:17.013014750 -0700
+@@ -0,0 +1,4 @@
++get-size() { echo "$5" ;}
++printf -v len '%.8x' "$(get-size $(ls -l "$1"))"
++lzma e "$@"
++echo -ne "\x$(echo $len | cut -c 7,8)\x$(echo $len | cut -c 5,6)\x$(echo $len | cut -c 3,4)\x$(echo $len | cut -c 1,2)" >> "$2"
--- /dev/null
+CONFIG_ARCH_SUPPORTS_MSI=y
+CONFIG_BINFMT_MISC=y
+# CONFIG_CPUSETS is not set
+CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
+CONFIG_GENERIC_PENDING_IRQ=y
+# CONFIG_HOTPLUG_CPU is not set
+CONFIG_HT_IRQ=y
+CONFIG_IRQBALANCE=y
+CONFIG_LOCK_KERNEL=y
+CONFIG_LOGO=y
+CONFIG_LOGO_LINUX_CLUT224=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_M386=y
+# CONFIG_M486 is not set
+CONFIG_MATH_EMULATION=y
+CONFIG_MICROCODE=y
+CONFIG_MICROCODE_OLD_INTERFACE=y
+CONFIG_MTRR=y
+CONFIG_NR_CPUS=8
+# CONFIG_PCI_MSI is not set
+CONFIG_PREEMPT_BKL=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+CONFIG_SCHED_MC=y
+CONFIG_SCHED_SMT=y
+CONFIG_SMP=y
+CONFIG_STOP_MACHINE=y
+CONFIG_X86_FIND_SMP_CONFIG=y
+CONFIG_X86_GENERIC=y
+CONFIG_X86_HT=y
+CONFIG_X86_INTEL_USERCOPY=y
+CONFIG_X86_IO_APIC=y
+CONFIG_X86_L1_CACHE_SHIFT=7
+CONFIG_X86_LOCAL_APIC=y
+CONFIG_X86_MCE=y
+# CONFIG_X86_MCE_NONFATAL is not set
+# CONFIG_X86_MCE_P4THERMAL is not set
+CONFIG_X86_MINIMUM_CPU_MODEL=0
+CONFIG_X86_MPPARSE=y
+CONFIG_X86_SMP=y
+CONFIG_X86_TRAMPOLINE=y
define Profile/s100
NAME:=T-Vision S-100
- LINUX_CONFIG:=$(CURDIR)/config/profile-s100
FEATURES+=usb
endef