diff -Ncwr utkernel_source.orig/etc/mkfuncfiles utkernel_source.curr/etc/mkfuncfiles *** utkernel_source.orig/etc/mkfuncfiles Tue Feb 12 17:18:44 2008 --- utkernel_source.curr/etc/mkfuncfiles Sat Feb 28 21:30:29 2009 *************** *** 1,4 **** ! #! /usr/local/bin/perl # # ---------------------------------------------------------------------- # micro T-Kernel --- 1,4 ---- ! #! /usr/bin/perl # # ---------------------------------------------------------------------- # micro T-Kernel diff -Ncwr utkernel_source.orig/etc/mkiflib utkernel_source.curr/etc/mkiflib *** utkernel_source.orig/etc/mkiflib Tue Feb 12 17:18:44 2008 --- utkernel_source.curr/etc/mkiflib Sat Feb 28 21:30:47 2009 *************** *** 1,4 **** ! #! /usr/local/bin/perl # # ---------------------------------------------------------------------- # micro T-Kernel --- 1,4 ---- ! #! /usr/bin/perl # # ---------------------------------------------------------------------- # micro T-Kernel diff -Ncwr utkernel_source.orig/etc/mktdsvc utkernel_source.curr/etc/mktdsvc *** utkernel_source.orig/etc/mktdsvc Tue Feb 12 17:18:44 2008 --- utkernel_source.curr/etc/mktdsvc Sat Feb 28 21:31:04 2009 *************** *** 1,4 **** ! #! /usr/local/bin/perl # # ---------------------------------------------------------------------- # micro T-Kernel --- 1,4 ---- ! #! /usr/bin/perl # # ---------------------------------------------------------------------- # micro T-Kernel diff -Ncwr utkernel_source.orig/etc/mktksvc utkernel_source.curr/etc/mktksvc *** utkernel_source.orig/etc/mktksvc Tue Feb 12 17:18:44 2008 --- utkernel_source.curr/etc/mktksvc Sat Feb 28 21:30:57 2009 *************** *** 1,4 **** ! #! /usr/local/bin/perl # # ---------------------------------------------------------------------- # micro T-Kernel --- 1,4 ---- ! #! /usr/bin/perl # # ---------------------------------------------------------------------- # micro T-Kernel diff -Ncwr utkernel_source.orig/etc/platform utkernel_source.curr/etc/platform *** utkernel_source.orig/etc/platform Tue Feb 12 17:18:44 2008 --- utkernel_source.curr/etc/platform Sat Feb 28 21:31:25 2009 *************** *** 19,24 **** --- 19,25 ---- SunOS) platform=$os-`uname -p` ;; Linux) platform=$os-`uname -m` ;; FreeBSD) platform=$os-`uname -p` ;; + OpenBSD) platform=$os-`uname -m` ;; *) platform=unknown ;; esac diff -Ncwr utkernel_source.orig/etc/sysdepend/app_at91/makerules.sysdepend utkernel_source.curr/etc/sysdepend/app_at91/makerules.sysdepend *** utkernel_source.orig/etc/sysdepend/app_at91/makerules.sysdepend Tue Feb 12 17:18:45 2008 --- utkernel_source.curr/etc/sysdepend/app_at91/makerules.sysdepend Sat Feb 28 21:32:51 2009 *************** *** 38,43 **** --- 38,46 ---- ifneq ($(filter Linux-%, $(CROSS_ARCH)), ) PATH := $(PATH):/usr/local/bin:/bin:/usr/bin endif + ifneq ($(filter OpenBSD-%, $(CROSS_ARCH)), ) + PATH := $(PATH):/usr/local/bin:/bin:/usr/bin + endif # ----- T-Engine Appliance AT91M55800A (ARM7TDMI) --------------------------------- *************** *** 45,56 **** TARGET_ARCH = # target type ! _CPUTYPE_FLAGS = -march=armv4t _CPUTYPE_FLAGS_AS = -marmv4t -mno-fpu _TE_SYSTEM_NAME_ = _APP_AT91_ # code set ! _CODESET_FLAGS = -mthumb-interwork ### build option ### CFLAGS += --- 48,59 ---- TARGET_ARCH = # target type ! _CPUTYPE_FLAGS = -march=armv4t -Wall -Werror _CPUTYPE_FLAGS_AS = -marmv4t -mno-fpu _TE_SYSTEM_NAME_ = _APP_AT91_ # code set ! _CODESET_FLAGS = -mno-thumb-interwork # XXX ### build option ### CFLAGS += *************** *** 59,65 **** LDFLAGS += ### C ### ! CC := $(GNUarm)/bin/gccarm OUTPUT_OPTION = -o $@ ifeq ($(mode), debug) CFLAGS += -g --- 62,68 ---- LDFLAGS += ### C ### ! CC := $(GNUarm)/bin/gcc OUTPUT_OPTION = -o $@ ifeq ($(mode), debug) CFLAGS += -g diff -Ncwr utkernel_source.orig/kernel/sysmain/build/app_at91/kernel-rom.lnk utkernel_source.curr/kernel/sysmain/build/app_at91/kernel-rom.lnk *** utkernel_source.orig/kernel/sysmain/build/app_at91/kernel-rom.lnk Tue Feb 12 17:18:51 2008 --- utkernel_source.curr/kernel/sysmain/build/app_at91/kernel-rom.lnk Sat Feb 28 21:39:11 2009 *************** *** 32,37 **** --- 32,38 ---- *(.text) *(.rodata) + *(.rodata.*) } = 0 __data_org = .; .data 0x20000000 : AT(__data_org) { diff -Ncwr utkernel_source.orig/kernel/sysmain/src/Makefile.common utkernel_source.curr/kernel/sysmain/src/Makefile.common *** utkernel_source.orig/kernel/sysmain/src/Makefile.common Tue Feb 12 17:18:52 2008 --- utkernel_source.curr/kernel/sysmain/src/Makefile.common Sat Feb 28 21:36:12 2009 *************** *** 121,134 **** $(OBJCOPY) $(OUTPUT_SREC) $< $@ tkernel: ! ( cd $(OBJ_TKERNEL_PATH) ; make source ; make) sysinit: ! ( cd $(OBJ_SYSINIT_PATH) ; make ) tstdlib: ! make tstdlib_source ! make tstdlib_obj tstdlib_source: $(TSTDLIB_ORGSRC) (cd $(TSTDLIB_S); \ --- 121,134 ---- $(OBJCOPY) $(OUTPUT_SREC) $< $@ tkernel: ! ( cd $(OBJ_TKERNEL_PATH) ; $(MAKE) source ; $(MAKE)) sysinit: ! ( cd $(OBJ_SYSINIT_PATH) ; $(MAKE) ) tstdlib: ! $(MAKE) tstdlib_source ! $(MAKE) tstdlib_obj tstdlib_source: $(TSTDLIB_ORGSRC) (cd $(TSTDLIB_S); \ *************** *** 145,157 **** endif lib: ! (cd $(LIBRARY_PATH); make) clean: clean_source ! ( cd $(OBJ_TKERNEL_PATH) ; make clean clean_source) ! ( cd $(OBJ_SYSINIT_PATH) ; make clean ) $(RM) $(OBJ) $(TARGET_CRT0) $(TSTDLIB_OBJ) $(TSTDLIB_TARGET) $(ALL) $(DEPS) ! ( cd $(LIBRARY_PATH) ; make clean) clean_source: (cd $(TSTDLIB_S)/func ; $(RM) $(TSTDLIB_FUNCSRC)) --- 145,157 ---- endif lib: ! (cd $(LIBRARY_PATH); $(MAKE)) clean: clean_source ! ( cd $(OBJ_TKERNEL_PATH) ; $(MAKE) clean clean_source) ! ( cd $(OBJ_SYSINIT_PATH) ; $(MAKE) clean ) $(RM) $(OBJ) $(TARGET_CRT0) $(TSTDLIB_OBJ) $(TSTDLIB_TARGET) $(ALL) $(DEPS) ! ( cd $(LIBRARY_PATH) ; $(MAKE) clean) clean_source: (cd $(TSTDLIB_S)/func ; $(RM) $(TSTDLIB_FUNCSRC)) diff -Ncwr utkernel_source.orig/lib/build/Makefile.common utkernel_source.curr/lib/build/Makefile.common *** utkernel_source.orig/lib/build/Makefile.common Tue Feb 12 17:18:57 2008 --- utkernel_source.curr/lib/build/Makefile.common Sat Feb 28 21:35:38 2009 *************** *** 28,47 **** $(LIB_SYSDEP_TARGET): cd ../../$@/build/$(TETYPE)_$(MACHINE) ; \ ! make ; \ ! make install $(LIB_CPUDEP_TARGET): cd ../../$@/build/$(MACHINE) ; \ ! make ; \ ! make install clean: @( cd ../.. ; \ for dir in $(LIB_SYSDEP_TARGET); do \ ! ( cd $$dir/build/$(TETYPE)_$(MACHINE) ; make clean ) ; \ done ; \ for dir in $(LIB_CPUDEP_TARGET); do \ ! ( cd $$dir/build/$(MACHINE) ; make clean ) ; \ done ) ; rm -rf $(addsuffix .a, $(LIB_ARCHIVE_OBJ)) *.o \#*.o.* \#*.a.* --- 28,47 ---- $(LIB_SYSDEP_TARGET): cd ../../$@/build/$(TETYPE)_$(MACHINE) ; \ ! $(MAKE) ; \ ! $(MAKE) install $(LIB_CPUDEP_TARGET): cd ../../$@/build/$(MACHINE) ; \ ! $(MAKE) ; \ ! $(MAKE) install clean: @( cd ../.. ; \ for dir in $(LIB_SYSDEP_TARGET); do \ ! ( cd $$dir/build/$(TETYPE)_$(MACHINE) ; $(MAKE) clean ) ; \ done ; \ for dir in $(LIB_CPUDEP_TARGET); do \ ! ( cd $$dir/build/$(MACHINE) ; $(MAKE) clean ) ; \ done ) ; rm -rf $(addsuffix .a, $(LIB_ARCHIVE_OBJ)) *.o \#*.o.* \#*.a.* diff -Ncwr utkernel_source.orig/lib/libstr/src/Makefile.common utkernel_source.curr/lib/libstr/src/Makefile.common *** utkernel_source.orig/lib/libstr/src/Makefile.common Tue Feb 12 17:18:57 2008 --- utkernel_source.curr/lib/libstr/src/Makefile.common Sat Feb 28 21:35:18 2009 *************** *** 57,64 **** ALL = $(TARGET) all: ! make source ! make obj obj: $(ALL) --- 57,64 ---- ALL = $(TARGET) all: ! $(MAKE) source ! $(MAKE) obj obj: $(ALL) diff -Ncwr utkernel_source.orig/lib/libtk/src/Makefile.common utkernel_source.curr/lib/libtk/src/Makefile.common *** utkernel_source.orig/lib/libtk/src/Makefile.common Tue Feb 12 17:19:19 2008 --- utkernel_source.curr/lib/libtk/src/Makefile.common Sat Feb 28 21:34:59 2009 *************** *** 60,67 **** ALL = $(TARGET) all: ! make source ! make obj obj: $(ALL) --- 60,67 ---- ALL = $(TARGET) all: ! $(MAKE) source ! $(MAKE) obj obj: $(ALL)