Makefile: s/i386/x86/
This commit is contained in:
parent
604455667d
commit
40d44ef736
10
Makefile
10
Makefile
@ -84,13 +84,13 @@ kernel/linux-$(KERNEL_VERSION): kernel/linux-$(KERNEL_VERSION).tar.bz2
|
||||
(cd kernel/linux-$(KERNEL_VERSION) && patch -p1 -i ../$$FILE;) \
|
||||
done
|
||||
|
||||
kernel/linux-$(KERNEL_VERSION)/arch/i386/boot/bzImage: kernel/linux-$(KERNEL_VERSION) kernel/linux-$(KERNEL_VERSION).config
|
||||
kernel/linux-$(KERNEL_VERSION)/arch/x86/boot/bzImage: kernel/linux-$(KERNEL_VERSION) kernel/linux-$(KERNEL_VERSION).config
|
||||
make -C kernel/linux-$(KERNEL_VERSION) mrproper
|
||||
cp -f kernel/linux-$(KERNEL_VERSION).config kernel/linux-$(KERNEL_VERSION)/.config
|
||||
make -C kernel/linux-$(KERNEL_VERSION) oldconfig
|
||||
make -C kernel/linux-$(KERNEL_VERSION) all
|
||||
|
||||
kernel: kernel/linux-$(KERNEL_VERSION)/arch/i386/boot/bzImage
|
||||
kernel: kernel/linux-$(KERNEL_VERSION)/arch/x86/boot/bzImage
|
||||
|
||||
kernel-clean:
|
||||
rm -rf kernel/linux-$(KERNEL_VERSION)
|
||||
@ -270,10 +270,10 @@ squashfs: kernel busybox
|
||||
$(SQUASHFS_DIR)/etc/ssh/sshd_config
|
||||
@echo "- Installing kernel..."
|
||||
@cp kernel/linux-$(KERNEL_VERSION)/System.map $(SQUASHFS_DIR)/boot/System.map
|
||||
@cp kernel/linux-$(KERNEL_VERSION)/arch/i386/boot/bzImage $(SQUASHFS_DIR)/boot/vmlinuz
|
||||
@cp kernel/linux-$(KERNEL_VERSION)/arch/x86/boot/bzImage $(SQUASHFS_DIR)/boot/vmlinuz
|
||||
@echo "- Installing kernel modules (see modules_install.log)"
|
||||
@make -C kernel/linux-$(KERNEL_VERSION) INSTALL_MOD_PATH=$(SQUASHFS_DIR) modules_install &> modules_install.log
|
||||
@touch kernel/linux-$(KERNEL_VERSION).config kernel/linux-$(KERNEL_VERSION)/arch/i386/boot/bzImage # stupid timestamp problem
|
||||
@touch kernel/linux-$(KERNEL_VERSION).config kernel/linux-$(KERNEL_VERSION)/arch/x86/boot/bzImage # stupid timestamp problem
|
||||
@echo "- Deleting superfluous files..."
|
||||
@cd $(SQUASHFS_DIR) && rm -rf var opt home
|
||||
@mkdir -p $(SQUASHFS_DIR)/var/empty $(SQUASHFS_DIR)/var/lib
|
||||
@ -345,7 +345,7 @@ image-base: check-root kernel syslinux initramfs squashfs setup.dependencies uns
|
||||
@mkdir -p $(IMG_ROOT_DIR)/boot
|
||||
@echo "- Installing kernel"
|
||||
@cp kernel/linux-$(KERNEL_VERSION)/System.map $(IMG_ROOT_DIR)/boot/System.map
|
||||
@cp kernel/linux-$(KERNEL_VERSION)/arch/i386/boot/bzImage $(IMG_ROOT_DIR)/boot/vmlinuz
|
||||
@cp kernel/linux-$(KERNEL_VERSION)/arch/x86/boot/bzImage $(IMG_ROOT_DIR)/boot/vmlinuz
|
||||
@echo "- Installing initramfs"
|
||||
@cp initramfs/initramfs $(IMG_ROOT_DIR)/boot/initramfs
|
||||
@echo "- Copying CRUX packages"
|
||||
|
Loading…
x
Reference in New Issue
Block a user