Skip to contentSkip to conversation

Bootblocks patch

PATCH Tommy McCabe 1 participant 1 message Jul 13, 2004

lore
Share & tools
lore
#0 lore raw

This patch incorporates the dev86/bootblocks
components that are needed for ELKSCMD into the
ELKSCMD tree.

__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

elkscurr/elkscmd/Make.defs renamed from elkscomp/elkscmd/Make.defs +1 -1
diff -ruN ./elkscomp/elkscmd/Make.defs ./elkscurr/elkscmd/Make.defs
@@ -147,7 +147,7 @@
 MKFS=/sbin/mkfs.minix
 MKFS_OPTS=-n14
 
-MINIX_BOOT=$(DEV86_DIR)/bootblocks
+BOOTBLOCKS_DIR=./bootblocks
 
 ##############################################################################
 #
elkscurr/elkscmd/Makefile renamed from elkscomp/elkscmd/Makefile +3 -2
diff -ruN ./elkscomp/elkscmd/Makefile ./elkscurr/elkscmd/Makefile
@@ -30,9 +30,9 @@
 #
 # State location of boot sector and boot helper.
 
-FD_BSECT	= $(MINIX_BOOT)/minix.bin
+FD_BSECT	= $(BOOTBLOCKS_DIR) minix.bin
 
-KHELPER 	= $(MINIX_BOOT)/minix_elks.bin
+KHELPER 	= $(BOOTBLOCKS_DIR) minix_elks.bin
 
 ###############################################################################
 #
@@ -46,12 +46,8 @@
 		$(FULL3_TARGET_FS) $(FULL5_TARGET_FS) || true
 	rm -f $(COMB_TARGET_FS) $(ROOT_TARGET_FS) $(ROOT_NET_TARGET_FS) \
 		$(FULL3_TARGET_FS) $(FULL5_TARGET_FS) boot images.zip core
 	@for i in $(DIRS); do make -C $$i clean ; done
+	make -C $(BOOTBLOCKS_DIR) clean
 ###############################################################################
 #
 # Create relevant parts of ELKS package.

$(ELKS_DIR)/.config:
@@ -121,11 +93,10 @@
# Create relevant parts of other packages.

$(FD_BSECT):
- make -C $(MINIX_BOOT)
- make -C $(MINIX_BOOT) minix.bin
+ make -C $(BOOTBLOCKS_DIR) minix.bin

$(KHELPER):
- make -C $(MINIX_BOOT)
+ make -C $(BOOTBLOCKS_DIR) minix_elks.bin

###############################################################################
#

elkscurr/elkscmd/bootblocks/Makefile renamed from elkscomp/elkscmd/bootblocks/Makefile +143 -0

143 lines not on this page · raw message

elkscurr/elkscmd/bootblocks/minix.c renamed from elkscomp/elkscmd/bootblocks/minix.c +943 -0

943 lines not on this page · raw message

elkscurr/elkscmd/bootblocks/minix.h renamed from elkscomp/elkscmd/bootblocks/minix.h +104 -0

104 lines not on this page · raw message

elkscurr/elkscmd/bootblocks/minix_elks.c renamed from elkscomp/elkscmd/bootblocks/minix_elks.c +152 -0

152 lines not on this page · raw message

elkscurr/elkscmd/bootblocks/sysboot.s renamed from elkscomp/elkscmd/bootblocks/sysboot.s +82 -0

82 lines not on this page · raw message