mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
6a4f2922f6
In order to support both normal images and initramfs, ensure that each target sets KERNELNAME properly so that the generic kernel building code can copy the corresponding files over $(KDIR) with the appropriate extension. Update the various paths to the kernel and wrapper images from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37049
27 lines
576 B
Makefile
27 lines
576 B
Makefile
#
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=i386
|
|
BOARD:=x86
|
|
BOARDNAME:=x86
|
|
FEATURES:=squashfs ext4 vdi vmdk pcmcia targz
|
|
SUBTARGETS=generic olpc xen_domu ep80579 net5501 kvm_guest geos alix2 thincan \
|
|
rdc
|
|
|
|
LINUX_VERSION:=3.3.8
|
|
|
|
KERNELNAME:=bzImage
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
$(eval $(call BuildTarget))
|
|
|
|
$(eval $(call $(if $(CONFIG_TARGET_ROOTFS_ISO),RequireCommand,Ignore),mkisofs, \
|
|
Please install mkisofs. \
|
|
))
|