Brute-force removal of #ifdefs. Didn't touch the code.
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
LIB := $(obj)libsk98lin.a
-COBJS-y += skge.o
-COBJS-y += skaddr.o
-COBJS-y += skgehwt.o
-COBJS-y += skgeinit.o
-COBJS-y += skgepnmi.o
-COBJS-y += skgesirq.o
-COBJS-y += ski2c.o
-COBJS-y += sklm80.o
-COBJS-y += skqueue.o
-COBJS-y += skrlmt.o
-COBJS-y += sktimer.o
-COBJS-y += skvpd.o
-COBJS-y += skxmac2.o
-COBJS-y += skcsum.o
+COBJS-$(CONFIG_SK98) += skge.o skaddr.o skgehwt.o skgeinit.o skgepnmi.o \
+ skgesirq.o ski2c.o sklm80.o skqueue.o skrlmt.o sktimer.o \
+ skvpd.o skxmac2.o skcsum.o
#COBJS-y += skproc.o
-COBJS-y += uboot_skb.o
-COBJS-y += uboot_drv.o
+COBJS-$(CONFIG_SK98) += uboot_skb.o uboot_drv.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
#include <config.h>
-#ifdef CONFIG_SK98
-
#ifndef lint
static const char SysKonnectFileId[] =
"@(#) $Id: skaddr.c,v 1.48 2003/02/12 17:09:37 tschilli Exp $ (C) SysKonnect.";
#ifdef __cplusplus
}
#endif /* __cplusplus */
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
#ifdef SK_USE_CSUM /* Check if CSUM is to be used. */
#ifndef lint
} /* SkCsEvent */
#endif /* SK_USE_CSUM */
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
#include "h/skversion.h"
#if 0
#include <linux/module.h>
} /* DumpLong */
#endif
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
/*
Event queue and dispatcher
*/
pAC->Hwt.TStop = pAC->Hwt.TStart;
SkTimerDone(pAC,Ioc) ;
}
-
-#endif /* CONFIG_SK98 */
-
/* End of file */
#include <config.h>
-#ifdef CONFIG_SK98
-
#include "h/skdrv1st.h"
#include "h/skdrv2nd.h"
return(0);
} /* SkGeInitPort */
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
/*
* PRIVATE OID handler function prototypes
*/
0,
SK_PNMI_RO, Vct, 0},
};
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
static const char SysKonnectFileId[] =
"@(#) $Id: skgepnmi.c,v 1.102 2002/12/16 14:03:24 tschilli Exp $"
" (C) SysKonnect.";
}
} /* CheckVctStatus */
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
/*
* Special Interrupt handler
*
} /* SkPhyIsrLone */
#endif /* OTHER_PHY */
-#endif /* CONFIG_SK98 */
-
/* End of File */
#include <config.h>
-#ifdef CONFIG_SK98
-
/*
* I2C Protocol
*/
} /* SkI2cEvent*/
#endif /* !SK_DIAG */
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
/*
LM80 functions
*/
/* Not completed */
return(0);
}
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
#include <linux/proc_fs.h>
#include "h/skdrv1st.h"
return strorg;
}
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
/*
Event queue and dispatcher
*/
return(0) ;
}
-#endif /* CONFIG_SK98 */
-
/* End of file */
#include <config.h>
-#ifdef CONFIG_SK98
-
#ifndef lint
static const char SysKonnectFileId[] =
"@(#) $Id: skrlmt.c,v 1.68 2003/01/31 15:26:56 rschmidt Exp $ (C) SysKonnect.";
#ifdef __cplusplus
}
#endif /* __cplusplus */
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
/*
Event queue and dispatcher
*/
}
}
-#endif /* CONFIG_SK98 */
-
/* End of file */
#include <config.h>
-#ifdef CONFIG_SK98
-
/*
Please refer skvpd.txt for infomation how to include this module
*/
(void)VpdUpdate(pAC, IoC);
}
-
-#endif /* CONFIG_SK98 */
#include <config.h>
-#ifdef CONFIG_SK98
-
#include "h/skdrv1st.h"
#include "h/skdrv2nd.h"
return(0);
} /* SkGmCableDiagStatus */
-#endif /* CONFIG_SK98 */
-
/* End of file */
#include <common.h>
-#if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI) && \
- defined(CONFIG_SK98)
-
#include "h/skdrv1st.h"
#include "h/skdrv2nd.h"
#include "u-boot_compat.h"
return 0;
}
-
-
-#endif /* CONFIG_SK98 */
*/
#include <config.h>
-
-#ifdef CONFIG_SK98
-
#include <common.h>
#include "u-boot_compat.h"
{
skb->len+=len;
}
-
-#endif /* CONFIG_SK98 */