aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/Makefile
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-20 22:00:50 +0100
committerErwan Velu <erwan.velu@free.fr>2009-11-20 22:00:50 +0100
commitf0b40f9bcf9630de643691de835d18e4e22c2093 (patch)
tree548fde34342dedbb81df6301ea09c2b6e61bc34c /com32/hdt/Makefile
parente9af8d807c3ab7b1a880bb307454481fd9a7150e (diff)
downloadsyslinux.git-f0b40f9bcf9630de643691de835d18e4e22c2093.tar.gz
syslinux.git-f0b40f9bcf9630de643691de835d18e4e22c2093.tar.xz
syslinux.git-f0b40f9bcf9630de643691de835d18e4e22c2093.zip
hdt: Adding background image for the CLI
Impact: Visual The cli now features a background image when started in vesa mode
Diffstat (limited to 'com32/hdt/Makefile')
-rw-r--r--com32/hdt/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/com32/hdt/Makefile b/com32/hdt/Makefile
index abe21f5f..48519805 100644
--- a/com32/hdt/Makefile
+++ b/com32/hdt/Makefile
@@ -37,7 +37,8 @@ ISOLINUX_DIR ?= isolinux
FLOPPY_DIR ?= floppy
PCI_IDS_FILE ?= $(PWD)/$(FLOPPY_DIR)/pci.ids
GZ_PCI_IDS_FILE ?= $(PCI_IDS_FILE).gz
-REBOOT_COM32 ?= $(com32)/modules/reboot.c32
+REBOOT_COM32 ?= $(com32)/modules/reboot.c32
+ART_DIR ?= art/
all: $(MODULES) $(TESTFILES)
@@ -56,6 +57,7 @@ hdt.img: hdt.c32 $(FLOPPY_DIR)/hdt.cfg $(FLOPPY_DIR)/mtools.conf $(topdir)/mtool
MTOOLSRC=$(PWD)/$(FLOPPY_DIR)/mtools.conf $(MCOPY) $(REBOOT_COM32) a:
@ [ -f $(GZ_PCI_IDS_FILE) ] && MTOOLSRC=$(PWD)/$(FLOPPY_DIR)/mtools.conf $(MCOPY) $(GZ_PCI_IDS_FILE) a:pci.ids || printf "\nThe $(GZ_PCI_IDS_FILE) file is missing and can be downloaded from http://pciids.sourceforge.net and gzipped in\nthe ./com32/hdt/$(FLOPPY_DIR) directory of the extracted Syslinux source.\n\n"
MTOOLSRC=$(PWD)/$(FLOPPY_DIR)/mtools.conf $(MCOPY) $(FLOPPY_DIR)/hdt.cfg a:syslinux.cfg
+ MTOOLSRC=$(PWD)/$(FLOPPY_DIR)/mtools.conf $(MCOPY) $(ART_DIR)/* a:
hdt.img.gz: hdt.img
rm -rf hdt.img.gz
@@ -69,6 +71,7 @@ hdt.iso: hdt.c32 $(topdir)/core/isolinux.bin $(FLOPPY_DIR)/hdt.cfg
cp $(FLOPPY_DIR)/hdt.cfg $(ISO_DIR)/$(ISOLINUX_DIR)/isolinux.cfg
cp hdt.c32 $(ISO_DIR)/$(ISOLINUX_DIR)
cp $(REBOOT_COM32) $(ISO_DIR)/$(ISOLINUX_DIR)
+ cp -av $(ART_DIR)/* $(ISO_DIR)/$(ISOLINUX_DIR)
-[ ! -f $(GZ_PCI_IDS_FILE) ] && cp /usr/share/hwdata/pci.ids $(PCI_IDS_FILE) && $(GZIP) $(PCI_IDS_FILE)
-[ ! -f $(GZ_PCI_IDS_FILE) ] && cp /usr/share/pci.ids $(PCI_IDS_FILE) && $(GZIP) $(PCI_IDS_FILE)
-[ -f $(MODULES_ALIAS_FILE) ] && cp $(MODULES_ALIAS_FILE) $(ISO_DIR)/$(ISOLINUX_DIR)\