summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorArnaud Patard <rtp@mageia.org>2011-03-18 21:33:51 +0000
committerArnaud Patard <rtp@mageia.org>2011-03-18 21:33:51 +0000
commitd91143bbd32de6eecd6a43d4bed7f2fa4da1e077 (patch)
tree98f922eaec29c34912d7d7dbf30803304d04a2cf /mdk-stage1
parent2bfae95a970f4c7284a2484fb967bbf9174c2cc6 (diff)
downloaddrakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.tar
drakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.tar.gz
drakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.tar.bz2
drakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.tar.xz
drakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.zip
- import stage1/drakxtools arm support
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/Makefile6
-rw-r--r--mdk-stage1/Makefile.common6
2 files changed, 11 insertions, 1 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 38e059b8e..1f2ea6803 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -135,6 +135,9 @@ endif
ifeq (mips, $(ARCH))
DIRS += sysfs
endif
+ifeq (arm, $(ARCH))
+DIRS += sysfs
+endif
ifeq (i386,$(ARCH))
@@ -148,6 +151,9 @@ endif
ifeq (mips,$(ARCH))
PCMCIA_LIB = sysfs/libsysfs.a
endif
+ifeq (arm,$(ARCH))
+PCMCIA_LIB = sysfs/libsysfs.a
+endif
USB_DEFS_GEN = -DENABLE_USB
USB_DEFS = -DENABLE_USB -DDISABLE_PCIADAPTERS
diff --git a/mdk-stage1/Makefile.common b/mdk-stage1/Makefile.common
index 95bc6d3cb..1525e8d5d 100644
--- a/mdk-stage1/Makefile.common
+++ b/mdk-stage1/Makefile.common
@@ -16,6 +16,7 @@
ARCH := $(patsubst i%86,i386,$(shell uname -m))
ARCH := $(patsubst sparc%,sparc,$(ARCH))
+ARCH := $(patsubst arm%,arm,$(ARCH))
# DEBUG = 1
@@ -26,10 +27,13 @@ else
F = NEWT
endif
-# diet libc syscalls are broken
+# diet libc syscalls are broken on mips
ifneq (mips, $(ARCH))
+# diet libc eabi support is mostly broken
+ifneq (arm, $(ARCH))
DIET = $(shell test -x /usr/bin/diet && echo diet)
endif
+endif
ifeq ($(DIET), diet)