Changeset 59147 in vbox for trunk/src/VBox
- Timestamp:
- Dec 16, 2015 10:26:42 AM (9 years ago)
- Location:
- trunk/src/VBox/Installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/Config.kmk
r54063 r59147 26 26 # Generic stuff. 27 27 # 28 VBOX_PATH_INST_COMMON_SRC := $(PATH_ SUB_CURRENT)/common28 VBOX_PATH_INST_COMMON_SRC := $(PATH_ROOT)/src/VBox/Installer/common 29 29 30 30 -
trunk/src/VBox/Installer/linux/Makefile.kmk
r58906 r59147 189 189 VBoxDDR0.r0 \ 190 190 VMMR0.r0 191 ifdef VBOX_NO_LINUX_RUN_INSTALLER 192 VBOX_LNX_STRIP_OBJ += \ 193 VBoxDD2R0.debug \ 194 VBoxDDR0.debug \ 195 VMMR0.debug 196 else 197 VBOX_LNX_DBG_BIN = \ 198 VBoxDD2R0.debug \ 199 VBoxDDR0.debug \ 200 VMMR0.debug 201 endif 191 202 192 203 ifdef VBOX_WITH_RAW_MODE … … 195 206 VBoxDDRC.rc \ 196 207 VMMRC.rc 208 ifdef VBOX_NO_LINUX_RUN_INSTALLER 209 VBOX_LNX_STRIP_OBJ += \ 210 VBoxDD2RC.debug \ 211 VBoxDDRC.debug \ 212 VMMRC.debug 213 else 214 VBOX_LNX_DBG_BIN += \ 215 VBoxDD2RC.debug \ 216 VBoxDDRC.debug \ 217 VMMRC.debug 218 endif 197 219 endif 198 220 … … 353 375 354 376 # Cleanup of the files we copy/symlink from bin. 355 OTHER_CLEAN += $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_ARCH_FILES)) \ 356 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN)) 377 OTHER_CLEAN += $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(filter-out src,$(VBOX_LNX_ARCH_FILES)) src/vboxhost) \ 378 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,\ 379 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN)) 357 380 358 381 # … … 448 471 $(QUIET)$(if $(VBOX_NO_LINUX_RUN_INSTALLER),,objcopy --add-gnu-debuglink=$(subst $(VBOX_LNX_INST_OUT_DIR)/archive,$(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH),$@) $@) 449 472 473 # pattern rule for copying VBOX_LNX_DBG_BIN files to archive-dbg/ 474 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_DBG_BIN)): \ 475 $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/% : $(PATH_STAGE_BIN)/% | $$(dir $$@) 476 $(call MSG_INST_FILE,$<,$@) 477 $(QUIET)$(CP) $< $@ 478 450 479 # pattern rule for striping and copying the VBOX_LNX_STRIP_OBJ files to archive/ 451 480 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_STRIP_OBJ)): \ … … 460 489 endif 461 490 491 # pattern rule for linking the VBOX_LNX_NO_STRIP into archive/ 492 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_NO_STRIP)): \ 493 $(VBOX_LNX_INST_OUT_DIR)/archive/% : $(PATH_STAGE_BIN)/% | $$(dir $$@) 494 $(call MSG_INST_SYM,$<,$@) 495 $(QUIET)$(RM) -f $@ 496 $(QUIET)$(LN_SYMLINK) $< $@ 497 462 498 # special rule for the kernel modules 463 499 $(VBOX_LNX_INST_OUT_DIR)/archive/src: $(PATH_STAGE_BIN)/src | $(dir $@) … … 466 502 $(QUIET)$(MKDIR) $@ 467 503 $(QUIET)$(LN_SYMLINK) $< $@/vboxhost 468 469 # pattern rule for linking the VBOX_LNX_NO_STRIP into archive/470 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_NO_STRIP)): \471 $(VBOX_LNX_INST_OUT_DIR)/archive/% : $(PATH_STAGE_BIN)/% | $$(dir $$@)472 $(call MSG_INST_SYM,$<,$@)473 $(QUIET)$(RM) -f $@474 $(QUIET)$(LN_SYMLINK) $< $@475 504 476 505 # rules for creating directories in archive (the pattern rules depends on these). … … 507 536 # 508 537 $(PATH_STAGE_BIN)/VirtualBox-dbg.tar.bz2: \ 509 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/, $(VBOX_LNX_STRIP_BIN)) 538 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,\ 539 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN)) 510 540 $(call MSG_L1,Packing $@) 511 541 $(QUIET)$(RM) -f -- $@ $(patsubst %.bz2,%,$@) … … 513 543 $(QUIET)tar --dereference --owner 0 --group 0 \ 514 544 -cRhf $(patsubst %.bz2,%,$@) -C $(VBOX_LNX_INST_OUT_DIR)/archive-dbg \ 515 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) )545 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN)) 516 546 $(QUIET)pbzip2 $(patsubst %.bz2,%,$@) 517 547 else 518 548 $(QUIET)tar --dereference --owner 0 --group 0 \ 519 549 -cjRhf $@ -C $(VBOX_LNX_INST_OUT_DIR)/archive-dbg \ 520 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) )550 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN)) 521 551 endif 522 552
Note:
See TracChangeset
for help on using the changeset viewer.