Changeset fcd7053 in mainline for uspace/app/init
- Timestamp:
- 2009-02-12T20:11:25Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fa024ce
- Parents:
- 84266669
- Location:
- uspace/app/init
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/Makefile
r84266669 rfcd7053 28 28 29 29 include ../../../version 30 -include ../../../Makefile.config31 30 32 31 ## Setup toolchain … … 35 34 LIBC_PREFIX = ../../lib/libc 36 35 SOFTINT_PREFIX = ../../lib/softint 36 37 37 include $(LIBC_PREFIX)/Makefile.toolchain 38 38 … … 40 40 41 41 LIBS = $(LIBC_PREFIX)/libc.a 42 DEFS += -DRELEASE=\"$(RELEASE)\" 43 44 ifdef REVISION 45 DEFS += "-DREVISION=\"$(REVISION)\"" 46 endif 47 48 ifdef TIMESTAMP 49 DEFS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" 50 endif 42 DEFS += -DRELEASE=$(RELEASE) 51 43 52 44 ## Sources … … 73 65 74 66 $(OUTPUT): $(OBJECTS) $(LIBS) 75 $(LD) -T $(LIBC_PREFIX)/arch/$( ARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map67 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 76 68 77 69 disasm: $(OUTPUT).disasm -
uspace/app/init/version.c
r84266669 rfcd7053 36 36 #include <unistd.h> 37 37 #include <stdio.h> 38 #include <macros.h> 38 39 #include "init.h" 39 40 #include "version.h" 40 41 41 char *release = RELEASE;42 char *release = STRING(RELEASE); 42 43 43 44 #ifdef REVISION 44 char *revision = ", revision " REVISION;45 char *revision = ", revision " STRING(REVISION); 45 46 #else 46 47 char *revision = ""; … … 48 49 49 50 #ifdef TIMESTAMP 50 char *timestamp = "\nBuilt on " TIMESTAMP;51 char *timestamp = "\nBuilt on " STRING(TIMESTAMP); 51 52 #else 52 53 char *timestamp = "";
Note:
See TracChangeset
for help on using the changeset viewer.
