diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 16:39:31 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 16:39:31 +0000 |
commit | 6c51c47962b8ed9c06350bf256ecacc072bebdca (patch) | |
tree | 261b2e5985d4c705b840024b22b9d7fb398337da /target/linux/ramips/image | |
parent | f400a9cdd9f30633eb8a63e1f29c4b90ff86b487 (diff) | |
download | mtk-20170518-6c51c47962b8ed9c06350bf256ecacc072bebdca.zip mtk-20170518-6c51c47962b8ed9c06350bf256ecacc072bebdca.tar.gz mtk-20170518-6c51c47962b8ed9c06350bf256ecacc072bebdca.tar.bz2 |
ramips: build initramfs image for DIR-{3,6}00 boards
SVN-Revision: 30882
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r-- | target/linux/ramips/image/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 90bbff9..97f4a9a 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -164,6 +164,10 @@ define BuildFirmware/DIR300B1 -o $(call imgname,$(1),$(2))-factory.bin endef +define BuildFirmware/DIR300B1/initramfs + $(call BuildFirmware/Generic/initramfs,$(1),$(2),board=$(3) $(call mkmtd/phys,$(mtdlayout_dir300b1)),$(mtd_dir300b1_kernel_part_size),$(mtd_dir300b1_rootfs_part_size)) +endef + define BuildFirmware/Edimax if [ -e "$(call sysupname,$(1),$(2))" ]; then \ mkedimaximg -i $(call sysupname,$(1),$(2)) \ |