summaryrefslogtreecommitdiffstats
path: root/rescue/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/Makefile')
-rw-r--r--rescue/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/rescue/Makefile b/rescue/Makefile
index 4d3015b81..59de38f3d 100644
--- a/rescue/Makefile
+++ b/rescue/Makefile
@@ -1,9 +1,13 @@
+ARCH := $(patsubst i%86,i386,$(shell uname -m))
+ARCH := $(patsubst sparc%,sparc,$(ARCH))
+
+
ROOTDEST = /export
install: rescue_stage2.bz2
cp -f $< $(ROOTDEST)/Mandrake/base
-rescue_stage2.bz2: kernel_read_part list
+rescue_stage2.bz2: kernel_read_part list list.$(ARCH) drvinst guessmounts make_rescue_img
./make_rescue_img
clean: