Skip to content

Commit

Permalink
Modify KBL-NUC/SDC for default build
Browse files Browse the repository at this point in the history
remove acrn.efi and modify KBL-NUC/SDC for default build
Tracked-On: #3953
Signed-off-by: wenlingz <wenling.zhang@intel.com>
  • Loading branch information
wenlingz committed Oct 30, 2019
1 parent c94b1fc commit 5ca26d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -2,7 +2,7 @@
# global helper variables
T := $(CURDIR)

BOARD ?= apl-nuc
BOARD ?= kbl-nuc-i7

ifneq (,$(filter $(BOARD),apl-mrb))
FIRMWARE ?= sbl
Expand Down Expand Up @@ -131,7 +131,7 @@ apl-mrb-sbl-sdc:
apl-up2-sbl-sdc:
$(call build_acrn,sbl,apl-up2,CONFIG_SDC,sdc)
kbl-nuc-i7-uefi-industry:
$(call build_acrn,uefi,kbl-nuc-i7,CONFIG_INDUSTRY,industry)
$(call build_acrn,uefi,nuc7i7dnb,CONFIG_INDUSTRY,industry)
apl-up2-uefi-hybrid:
$(call build_acrn,uefi,apl-up2,CONFIG_HYBRID,hybrid)
Expand All @@ -145,7 +145,7 @@ apl-mrb-sbl-sdc-install:
apl-up2-sbl-sdc-install:
$(call install_acrn,sbl,apl-up2,sdc)
kbl-nuc-i7-uefi-industry-install:
$(call install_acrn,uefi,kbl-nuc-i7,industry)
$(call install_acrn,uefi,nuc7i7dnb,industry)
apl-up2-uefi-hybrid-install:
$(call install_acrn,uefi,apl-up2,hybrid)
Expand All @@ -159,7 +159,7 @@ apl-mrb-sbl-sdc-install-debug:
apl-up2-sbl-sdc-install-debug:
$(call install_acrn_debug,sbl,apl-up2,sdc)
kbl-nuc-i7-uefi-industry-install-debug:
$(call install_acrn_debug,uefi,kbl-nuc-i7,industry)
$(call install_acrn_debug,uefi,nuc7i7dnb,industry)
apl-up2-uefi-hybrid-install-debug:
$(call install_acrn_debug,uefi,apl-up2,hybrid)
Expand Down
11 changes: 0 additions & 11 deletions misc/efi-stub/Makefile
Expand Up @@ -91,22 +91,11 @@ all: $(EFIBIN)
install: $(EFIBIN) install-conf
install -D $(EFIBIN) $(DESTDIR)/usr/lib/acrn/$(HV_FILE).$(BOARD).$(SCENARIO).efi
# this is to keep the compatible with original output files
ifeq ($(BOARD), nuc6cayh)
ifeq ($(SCENARIO), sdc)
install -D $(EFIBIN) $(DESTDIR)/usr/lib/acrn/$(HV_FILE).efi
endif
endif

install-debug: $(HV_OBJDIR)/$(HV_FILE).map $(HV_OBJDIR)/$(HV_FILE).out
install -D $(HV_OBJDIR)/$(HV_FILE).out $(DESTDIR)/usr/lib/acrn/$(HV_FILE).$(BOARD).$(SCENARIO).efi.out
install -D $(HV_OBJDIR)/$(HV_FILE).map $(DESTDIR)/usr/lib/acrn/$(HV_FILE).$(BOARD).$(SCENARIO).efi.map
# this is to keep the compatible with original output files
ifeq ($(BOARD), nuc6cayh)
ifeq ($(SCENARIO), sdc)
install -D $(HV_OBJDIR)/$(HV_FILE).out $(DESTDIR)/usr/lib/acrn/$(HV_FILE).efi.out
install -D $(HV_OBJDIR)/$(HV_FILE).map $(DESTDIR)/usr/lib/acrn/$(HV_FILE).efi.map
endif
endif

$(EFIBIN): $(BOOT)

Expand Down

0 comments on commit 5ca26d3

Please sign in to comment.