add prereq checks for target/linux/* and target/image/*, check for fdisk for the x86 builds
SVN-Revision: 5569
This commit is contained in:
@@ -25,6 +25,10 @@ compile: linux-compile image_compile
|
||||
install: image_clean $(patsubst %,%-install,$(TARGETS-y)) image_install
|
||||
clean: $(patsubst %,%-clean,$(TARGETS-y)) image_clean
|
||||
|
||||
prereq: FORCE
|
||||
$(MAKE) -C linux/$(BOARD)-$(KERNEL) prereq
|
||||
$(MAKE) -C image/$(BOARD) prereq
|
||||
|
||||
image_clean: FORCE
|
||||
$(MAKE) -C image/$(BOARD) clean
|
||||
rm -f $(BIN_DIR)/openwrt-*
|
||||
|
||||
@@ -54,5 +54,8 @@ define Image/Build
|
||||
cp $(LINUX_DIR)/arch/i386/boot/bzImage $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz
|
||||
endef
|
||||
|
||||
|
||||
$(eval $(call BuildImage))
|
||||
|
||||
$(eval $(call RequireCommand,fdisk, \
|
||||
Please install fdisk \
|
||||
))
|
||||
|
||||
@@ -16,4 +16,6 @@ LINUX_RELEASE:=1
|
||||
LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
|
||||
|
||||
include $(INCLUDE_DIR)/kernel-build.mk
|
||||
|
||||
$(eval $(call BuildKernel))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user