mirror of https://github.com/hak5/openwrt.git
parent
0ce7096e40
commit
793b09b854
|
@ -57,7 +57,6 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||||
ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
|
ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
|
||||||
define Image/mkfs/tgz
|
define Image/mkfs/tgz
|
||||||
$(TAR) -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
|
$(TAR) -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
|
||||||
$(call Image/Build,tgz)
|
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
|
|
|
@ -121,11 +121,14 @@ endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(1),tgz)
|
|
||||||
$(call Image/Build/RouterBoard)
|
|
||||||
endif
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||||
|
define Image/BuildKernel
|
||||||
|
$(call Image/Build/RouterBoard)
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define Image/Build/LZMAKernel
|
define Image/Build/LZMAKernel
|
||||||
$(LOADER_MAKE) TARGET_DIR=$(BIN_DIR) \
|
$(LOADER_MAKE) TARGET_DIR=$(BIN_DIR) \
|
||||||
LOADER=openwrt-$(BOARD)-$(KERNEL)-ramfs-lzma-$(1).$(2) \
|
LOADER=openwrt-$(BOARD)-$(KERNEL)-ramfs-lzma-$(1).$(2) \
|
||||||
|
|
Loading…
Reference in New Issue