@@ -23,12 +23,12 @@
TOPDIR=../
include $(TOPDIR)Rules.mak
+ALL_SUBDIRS = args assert ctype pwd_grp signal silly stdlib string unistd misc
ifeq ($(TARGET_ARCH), $(NATIVE_ARCH))
- DIRS = args assert ctype pwd_grp signal silly stdlib string unistd
+ DIRS = $(ALL_SUBDIRS)
else
DIRS =
endif
-ALL_SUBDIRS = args assert ctype pwd_grp signal silly stdlib string unistd
all: subdirs
@@ -0,0 +1 @@
+outb
@@ -0,0 +1,20 @@
+TESTDIR=../
+include $(TESTDIR)/Rules.mak
+
+TARGETS=outb
+all: $(TARGETS)
+outb: outb.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
+ -@ echo "-------"
+ -@ echo " "
+ -@ echo "Compiling vs uClibc: "
+ $(TESTCC) $(CFLAGS) -c $< -o $@.o
+ $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
+ $(STRIPTOOL) -x -R .note -R .comment $@
+ ./$@
+clean:
+ rm -f *.[oa] *~ core $(TARGETS)
@@ -0,0 +1,9 @@
+#include <sys/io.h>
+int main(void)
+{
+ ioperm(0x340,0x342,1);
+ outb(0x340,0x0);
+ exit(0);
+}