TOP:=$(abspath ../..)
-include $(TOP)/common.mk

ifneq ($(strip $(subst ",,$(LB_MKPROM2_PATH))),)
 MKPROM2=$(strip $(subst ",,$(LB_MKPROM2_PATH)))/mkprom2
else
 MKPROM2=mkprom2
endif

.PHONY: xconfig gconfig menuconfig preconfig pre_postconfig postconfig build
.PHONY: cfg_load cfg_save

default: build

xconfig:

gconfig:

menuconfig:

preconfig:

pre_postconfig:

postconfig:

# Create a Bootable PROM Image from the wrapped Linux RAM Image
build:
	cmdline=$(LB_MKPROM2_CMD); \
	 $(MKPROM2) $$cmdline -o $(TOP)/output/images/image.prom $(TOP)/output/images/image.ram $(TGT_CFLAGS)

cfg_load:

cfg_save:
