mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
cb007a7bf6
This commit introduces few related changes which need to be done in single commit to keep images buildable between git revisions. In result it retains all previous image creation possibilities with slight name change of generated images. Brief summary of the commit: * Split up image generation recipe to smaller chunks to make it more generic and reusable. * Make iso images x86 specific and drop their definition as root filesystem. * Convert image creation process to generic code specified in image.mk. * Make geode subtarget inherit features from the main target instead of redefining them. * For subtargets create device definitions with basic packages set. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl> [rebased] Signed-off-by: Paul Spooren <mail@aparcar.org>
29 lines
622 B
Makefile
29 lines
622 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 fpu boot-part rootfs-part
|
|
SUBTARGETS:=generic legacy geode 64
|
|
|
|
KERNEL_PATCHVER:=5.4
|
|
KERNEL_TESTING_PATCHVER:=5.4
|
|
|
|
KERNELNAME:=bzImage
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs
|
|
|
|
$(eval $(call BuildTarget))
|
|
|
|
$(eval $(call $(if $(CONFIG_ISO_IMAGES),RequireCommand,Ignore),mkisofs, \
|
|
Please install mkisofs. \
|
|
))
|