From 9dd07e229c674d6fb6a220cbc70859fa2e7d3736 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 8 Jul 2007 20:51:19 +0000 Subject: - add pxelinux --- target/x86/syslinux/Config.in | 7 +++++++ target/x86/syslinux/syslinux.mk | 17 +++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) (limited to 'target/x86') diff --git a/target/x86/syslinux/Config.in b/target/x86/syslinux/Config.in index 1e19b8c4a..6e46ecfe3 100644 --- a/target/x86/syslinux/Config.in +++ b/target/x86/syslinux/Config.in @@ -4,3 +4,10 @@ config BR2_TARGET_SYSLINUX depends on BR2_i386 help The syslinux bootloader for x86 systems. + +config BR2_TARGET_PXELINUX + bool "pxelinux" + default n + depends on BR2_i386 || BR2_x86_64 + help + The pxelinux loader for x86 systems. diff --git a/target/x86/syslinux/syslinux.mk b/target/x86/syslinux/syslinux.mk index a1f5d7f8e..8eb4c115a 100644 --- a/target/x86/syslinux/syslinux.mk +++ b/target/x86/syslinux/syslinux.mk @@ -22,7 +22,7 @@ ifeq ($(SYSLINUX_SUPPORTED_ARCH),y) # ############################################################# -SYSLINUX_VERSION:=3.31 +SYSLINUX_VERSION:=3.51 SYSLINUX_DIR=$(BUILD_DIR)/syslinux-$(SYSLINUX_VERSION) SYSLINUX_DIR2=$(TOOL_BUILD_DIR)/syslinux-$(SYSLINUX_VERSION) SYSLINUX_SOURCE=syslinux-$(SYSLINUX_VERSION).tar.bz2 @@ -37,20 +37,22 @@ $(DL_DIR)/$(SYSLINUX_SOURCE): syslinux-source: $(DL_DIR)/$(SYSLINUX_SOURCE) $(SYSLINUX_DIR)/Makefile: $(DL_DIR)/$(SYSLINUX_SOURCE) $(SYSLINUX_PATCH) - $(SYSLINUX_CAT) $(DL_DIR)/$(SYSLINUX_SOURCE) | tar -C $(BUILD_DIR) -xvf - + $(SYSLINUX_CAT) $(DL_DIR)/$(SYSLINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(SYSLINUX_DIR) target/x86/syslinux/ \*.patch touch -c $@ -$(SYSLINUX_DIR)/isolinux.bin: $(SYSLINUX_DIR)/Makefile - $(MAKE) -C $(SYSLINUX_DIR) +$(SYSLINUX_DIR)/isolinux.bin $(SYSLINUX_DIR)/pxelinux.bin: $(SYSLINUX_DIR)/Makefile + $(MAKE) CC="$(HOSTCC)" AR="$(HOSTAR)" -C $(SYSLINUX_DIR) touch -c $@ syslinux: $(SYSLINUX_DIR)/isolinux.bin +pxelinux: $(SYSLINUX_DIR)/pxelinux.bin -syslinux-clean: +pxelinux-clean syslinux-clean: + rm -f $(SYSLINUX_DIR)/isolinux.bin $(SYSLINUX_DIR)/pxelinux.bin -$(MAKE) -C $(SYSLINUX_DIR) clean -syslinux-dirclean: +pxelinux-dirclean syslinux-dirclean: rm -rf $(SYSLINUX_DIR) endif @@ -63,3 +65,6 @@ endif ifeq ($(strip $(BR2_TARGET_SYSLINUX)),y) TARGETS+=syslinux endif +ifeq ($(strip $(BR2_TARGET_PXELINUX)),y) +TARGETS+=pxelinux +endif -- cgit v1.2.3