Changeset 186 for trunk/bootcode/Makefile
- Timestamp:
- Nov 7, 2017, 7:12:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/Makefile
r185 r186 160 160 # -Zd = line number debug info 161 161 # -Zi = symbolic debug info 162 ASM_FLAGS_D0=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -DBLD_LANG=" '$(%BLD_LANG)'" $(%JWASM_DEFINES) -q -W0 -Cp -zcw -Fo$^. -Sa $(JWASM_LIST_FILE) -Fw$^&.err163 ASM_FLAGS_D1=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -DBLD_LANG=" '$(%BLD_LANG)'" $(%JWASM_DEFINES) -q -W4 -Cp -zcw -Fo$^. -Sa $(JWASM_LIST_FILE) -Fw$^&.err164 ASM_FLAGS_D2=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -DBLD_LANG=" '$(%BLD_LANG)'" $(%JWASM_DEFINES) -q -WX -Cp -zcw -Fo$^. -Sa $(JWASM_LIST_FILE) -Fw$^&.err162 ASM_FLAGS_D0=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -DBLD_LANG="$(%BLD_LANG)" $(%JWASM_DEFINES) -q -W0 -Cp -zcw -Fo$^. -Sa $(JWASM_LIST_FILE) -Fw$^&.err 163 ASM_FLAGS_D1=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -DBLD_LANG="$(%BLD_LANG)" $(%JWASM_DEFINES) -q -W4 -Cp -zcw -Fo$^. -Sa $(JWASM_LIST_FILE) -Fw$^&.err 164 ASM_FLAGS_D2=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -DBLD_LANG="$(%BLD_LANG)" $(%JWASM_DEFINES) -q -WX -Cp -zcw -Fo$^. -Sa $(JWASM_LIST_FILE) -Fw$^&.err 165 165 # Workaround for JWasm list-file generation. 166 166 # Generate the list-file on a local drive so JWasm doen't take forever. … … 289 289 290 290 # ----------------------------------------------------------------------------- 291 # LANGUAGE SETUP292 # -----------------------------------------------------------------------------293 # Setup the relevant language files.294 # This is done by generating include-files for the specified language.295 # This is a 'pre-action' before assembling the AiR-BOOT.ASM source.296 # -----------------------------------------------------------------------------297 langsetup: .SYMBOLIC .MULTIPLE298 # Default to development language is none defined.299 !if "$(%BLD_LANG)"==""300 #~ %BLD_LANG=DEV_BLD_LANG301 !endif302 # Generate include-files for specified language.303 # After this, the Assembly sources are setup for the specified language.304 # Note that this target is not used as a 'dependency' but 'called' explicitly305 # by the $(BLD_LANGUAGES) target.306 !ifdef __LINUX__307 @bash -c 'echo -e "include text/$(%BLD_LANG)/mbr.asm\r"> text$(DS)txtmbr.asm'308 @bash -c 'echo -e "include text/$(%BLD_LANG)/menus.asm\r"> text$(DS)txtmenus.asm'309 @bash -c 'echo -e "include text/$(%BLD_LANG)/other.asm\r"> text$(DS)txtother.asm'310 !else311 @echo include text/$(%BLD_LANG)/mbr.asm> text$(DS)txtmbr.asm312 @echo include text/$(%BLD_LANG)/menus.asm> text$(DS)txtmenus.asm313 @echo include text/$(%BLD_LANG)/other.asm> text$(DS)txtother.asm314 !endif315 316 317 # -----------------------------------------------------------------------------318 291 # BUILD ALL LANGUAGES 319 292 # ----------------------------------------------------------------------------- … … 328 301 @%MAKE clean 329 302 @%MAKE rmbin 330 @%MAKE langsetup331 303 @%MAKE $(TARGET) 332 304 # Checking %AB_DEV does not work from target 'dev:' when non-recursively
Note:
See TracChangeset
for help on using the changeset viewer.