summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-02-28 08:10:00 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-02-28 08:10:18 +0100
commit6a5716b7cc575050834fe8e0580da99905b69fd5 (patch)
tree323e837add61ecddc2fea38d40923972746ba7cb /mdk-stage1
parentc5df39ea2f514c40ec69be517ae0fc0ca7860eb3 (diff)
downloaddrakx-6a5716b7cc575050834fe8e0580da99905b69fd5.tar
drakx-6a5716b7cc575050834fe8e0580da99905b69fd5.tar.gz
drakx-6a5716b7cc575050834fe8e0580da99905b69fd5.tar.bz2
drakx-6a5716b7cc575050834fe8e0580da99905b69fd5.tar.xz
drakx-6a5716b7cc575050834fe8e0580da99905b69fd5.zip
drop support for SPARC (unused/untested for a decade)
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/Makefile.common3
-rw-r--r--mdk-stage1/NEWS1
-rw-r--r--mdk-stage1/dns.c6
3 files changed, 1 insertions, 9 deletions
diff --git a/mdk-stage1/Makefile.common b/mdk-stage1/Makefile.common
index 629d27619..2d344a866 100644
--- a/mdk-stage1/Makefile.common
+++ b/mdk-stage1/Makefile.common
@@ -15,7 +15,6 @@
#*****************************************************************************
ARCH := $(patsubst i%86,i386,$(shell uname -m))
-ARCH := $(patsubst sparc%,sparc,$(ARCH))
ARCH := $(patsubst arm%,arm,$(ARCH))
# DEBUG = 1
@@ -39,10 +38,8 @@ endif
CFLAGS = $(OPTFLAGS) -pipe -Wall -fomit-frame-pointer -fno-strict-aliasing
ifneq (ppc, $(ARCH))
-ifneq (sparc, $(ARCH))
CFLAGS += -Werror
endif
-endif
INCLUDES = -I.
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index fcb911d77..0e044909d 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,4 @@
+- drop support for SPARC
- support dynamic linking only
2.0
diff --git a/mdk-stage1/dns.c b/mdk-stage1/dns.c
index 488b4844e..8651df5a7 100644
--- a/mdk-stage1/dns.c
+++ b/mdk-stage1/dns.c
@@ -122,13 +122,7 @@ static int do_query(char * query, int queryType, char ** domainName, struct in_a
char name[MAXDNAME];
union dns_response response;
-#ifdef __sparc__
- /* from jj: */
- /* We have to wait till ethernet negotiation is done */
- _res.retry = 3;
-#else
_res.retry = 2;
-#endif
len = res_search(query, C_IN, queryType, (void *) &response, sizeof(response));