- Timestamp:
- Dec 30, 2010 1:29:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/Etherboot-src/Makefile.kmk
r34775 r35367 5 5 6 6 # 7 # Copyright (C) 2006-20 07Oracle Corporation7 # Copyright (C) 2006-2010 Oracle Corporation 8 8 # 9 9 # This file is part of VirtualBox Open Source Edition (OSE), as … … 18 18 SUB_DEPTH = ../../../../.. 19 19 include $(KBUILD_PATH)/subheader.kmk 20 21 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 os2.x86 solaris.x86 solaris.amd64 win.x86 win.amd64 linux.amd64 freebsd.amd64) 22 # 23 # Build it from a precompiled binary. 24 # See notes about the binary load address and size way below. 25 # 26 LIBRARIES += NetBiosBin 27 NetBiosBin_TEMPLATE = VBOXR3 28 NetBiosBin_SOURCES = $(NetBiosBin_0_OUTDIR)/NetBiosBin.c 29 NetBiosBin_CLEAN = $(NetBiosBin_0_OUTDIR)/NetBiosBin.c 30 31 $$(NetBiosBin_0_OUTDIR)/NetBiosBin.c: $(PATH_SUB_CURRENT)/pcnet32.zrom $(VBOX_BIN2C) 32 $(call MSG_TOOL,bin2c,NetBiosBin,$<,$@) 33 $(QUIET)$(VBOX_BIN2C) -min 16 -max 24 -mask 0xfff -export NetBiosBinary $< $@ 34 35 else 36 # 37 # Build it from scratch. 38 # TODO: Stop using $(PATH_TARGET)! 39 # 20 40 21 41 BLDPROGS += nrv2b makerom … … 289 309 # the final binary to 0xffc00000 and filling out relocations incorrectly 290 310 # (first occurrence is the call to prelocate in the pciprefix.o file). 291 ifeq ($(filter-out darwin.x86 darwin.amd64 os2.x86 solaris.x86 solaris.amd64 win.x86 win.amd64 linux.amd64 freebsd.amd64,$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)),)292 $(PATH_TARGET)/pcnet32.zrom: $(PATH_SUB_CURRENT)/pcnet32.zrom | $(call DIRDEP,$(PATH_TARGET))293 $(CP) -f $< $@294 else295 311 $(PATH_TARGET)/pcnet32.zrom: $(PATH_TARGET)/pcnet32.rom.zprf $(MAKEROM) $(MAKEDEPS) 296 312 $(call MSG_TOOL,makerom,NetBiosBin,$<,$@) … … 313 329 $(QUIET)$(MAKEROM) -p 0x1022,0x2000 -i $(IDENT) [email protected] 314 330 $(QUIET)$(MV) -f [email protected] $@ 315 endif316 331 317 332 … … 791 806 include/mii.h: 792 807 808 endif # build it 793 809 include $(KBUILD_PATH)/subfooter.kmk 794 810
Note:
See TracChangeset
for help on using the changeset viewer.