diff options
author | Arnaud Patard <rtp@mageia.org> | 2011-03-18 21:33:11 +0000 |
---|---|---|
committer | Arnaud Patard <rtp@mageia.org> | 2011-03-18 21:33:11 +0000 |
commit | 37aedaae9b042c210b820d675d88a1622c05799f (patch) | |
tree | 0ee61668e342609cc56f0755d5edd2277e66aef3 /mdk-stage1 | |
parent | 9200953d1de496b673fa4a7ec8e0e05cf7cb3363 (diff) | |
download | drakx-backup-do-not-use-37aedaae9b042c210b820d675d88a1622c05799f.tar drakx-backup-do-not-use-37aedaae9b042c210b820d675d88a1622c05799f.tar.gz drakx-backup-do-not-use-37aedaae9b042c210b820d675d88a1622c05799f.tar.bz2 drakx-backup-do-not-use-37aedaae9b042c210b820d675d88a1622c05799f.tar.xz drakx-backup-do-not-use-37aedaae9b042c210b820d675d88a1622c05799f.zip |
- import stage1/drakxtools mips support
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/Makefile | 7 | ||||
-rw-r--r-- | mdk-stage1/Makefile.common | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile index 71a0332e4..38e059b8e 100644 --- a/mdk-stage1/Makefile +++ b/mdk-stage1/Makefile @@ -132,6 +132,9 @@ endif ifeq (x86_64, $(ARCH)) DIRS += pcmcia pcmcia-resource sysfs endif +ifeq (mips, $(ARCH)) +DIRS += sysfs +endif ifeq (i386,$(ARCH)) @@ -142,7 +145,9 @@ ifeq (x86_64,$(ARCH)) PCMCIA_LIB = pcmcia/libpcmcia.a sysfs/libsysfs.a PCMCIA_DEFS = -DENABLE_PCMCIA endif - +ifeq (mips,$(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 fc4372851..95bc6d3cb 100644 --- a/mdk-stage1/Makefile.common +++ b/mdk-stage1/Makefile.common @@ -26,7 +26,11 @@ else F = NEWT endif +# diet libc syscalls are broken +ifneq (mips, $(ARCH)) DIET = $(shell test -x /usr/bin/diet && echo diet) +endif + ifeq ($(DIET), diet) #- default lib is dietlibc (honoured by main Makefile whenever possible) |