mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-27 14:08:58 +02:00
make the 2.6.31-rc6 compiled in openwrt.
*add layer7_2 patch fix the iptables compile error *remove the 'sizes.h' include in jz_mmc.c *chmod -x jz_mmc.* *not make uImage in Makefile, let openwrt do it. Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
parent
10b1e8ca0c
commit
bb05897208
1
target/linux/xburst/files-2.6.31/drivers/mmc/host/jz_mmc.c
Executable file → Normal file
1
target/linux/xburst/files-2.6.31/drivers/mmc/host/jz_mmc.c
Executable file → Normal file
@ -27,7 +27,6 @@
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/scatterlist.h>
|
||||
#include <asm/sizes.h>
|
||||
#include <asm/jzsoc.h>
|
||||
|
||||
#include "jz_mmc.h"
|
||||
|
0
target/linux/xburst/files-2.6.31/drivers/mmc/host/jz_mmc.h
Executable file → Normal file
0
target/linux/xburst/files-2.6.31/drivers/mmc/host/jz_mmc.h
Executable file → Normal file
@ -20,22 +20,11 @@ ifneq ($(CONFIG_XBURST_UBOOT),)
|
||||
endif
|
||||
|
||||
define Image/BuildKernel
|
||||
cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf
|
||||
gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz
|
||||
$(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux $(KDIR)/vmlinux.bin.l7
|
||||
dd if=$(KDIR)/vmlinux.bin.l7 of=$(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma bs=65536 conv=sync
|
||||
dd if=$(KDIR)/vmlinux.bin.gz of=$(BIN_DIR)/openwrt-$(BOARD)-vmlinux.gz bs=65536 conv=sync
|
||||
|
||||
$(TARGET_CROSS)objcopy -O binary -R .reginfo -R .mdebug -R .comment -R .note -R .pdr -R .options -R .MIPS.options -S $(LINUX_DIR)/vmlinux $(KDIR)/linux.bin
|
||||
rm -f $(KDIR)/linux.bin.gz
|
||||
gzip -9 $(KDIR)/linux.bin
|
||||
mkimage -A mips -O linux -T kernel -C gzip -a 0x80010000 -e 0x80010000 -n "Qi Kernel Image Ben Nanonote" -d $(KDIR)/linux.bin.gz uImage
|
||||
|
||||
cp uImage $(BIN_DIR)/openwrt-$(BOARD)-uImage
|
||||
cp $(KDIR)/linux-$(LINUX_VERSION)/arch/mips/boot/uImage $(BIN_DIR)/openwrt-$(BOARD)-uImage
|
||||
endef
|
||||
|
||||
define Image/Build/squashfs
|
||||
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
|
||||
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
|
||||
endef
|
||||
|
||||
define Image/Build
|
||||
|
Loading…
Reference in New Issue
Block a user