diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-12 20:20:47 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-12 20:20:47 +0200 |
commit | 18b38b0eb68cbcb8793efe989dcd8796a60288af (patch) | |
tree | 4bee5aea0f6749536caa657409f638d36c46bce6 /mk | |
parent | 872be713be0ade5670e009195d8a08c1ea05a00b (diff) |
kernel patch cleanup
- move patches to kernel version specific directory
- enable execute bit on md5sum wrapper
- remove wrong include in BSDmakefile
- enable ROOTFS for rb532 device
- add mips specific patch for lib/delay.c typo
Diffstat (limited to 'mk')
-rw-r--r-- | mk/kernel-build.mk | 1 | ||||
-rw-r--r-- | mk/rootfs.mk | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk index 69e271d55..04657d906 100644 --- a/mk/kernel-build.mk +++ b/mk/kernel-build.mk @@ -9,7 +9,6 @@ KERNEL_IDIR:=$(LINUX_BUILD_DIR)/kernel-ipkg $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION)/.patched: $(TRACE) target/$(DEVICE)-kernel-patch - $(PATCH) $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION) ../linux/patches *.patch $(MAKE_TRACE) $(PATCH) $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION) ../linux/patches/$(KERNEL_VERSION) *.patch $(MAKE_TRACE) $(PATCH) $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION) ../$(DEVICE)/patches *.patch $(MAKE_TRACE) touch $@ diff --git a/mk/rootfs.mk b/mk/rootfs.mk index 455b6a979..67f2ec80c 100644 --- a/mk/rootfs.mk +++ b/mk/rootfs.mk @@ -8,7 +8,11 @@ FS_CMDLINE:=$(3) endif endef -$(eval $(call rootfs_template,ext2-cf,EXT2_CF)) +ifeq ($(ADK_LINUX_MIPS_RB532),y) +ROOTFS:= root=/dev/sda2 +endif + +$(eval $(call rootfs_template,ext2-cf,EXT2_CF,$(ROOTFS))) $(eval $(call rootfs_template,ext2-mmc,EXT2_MMC)) $(eval $(call rootfs_template,ext2,EXT2)) $(eval $(call rootfs_template,initramfs,INITRAMFS)) |