freewrt_1_0
freewrt_2_0
|
Last change
on this file since a3abab6 was c04ece1, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
as discussed with wbx@ some 2-3 weeks ago, change
the BR2_ prefix to FWRT_
tested with a standard build (only the squashfs
image since the jffs2 didn't get built)
git-svn-id: svn://www.freewrt.org/trunk/freewrt@360 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
880 bytes
|
| Line | |
|---|
| 1 | ifneq ($(FWRT_BIG_ENDIAN),y)
|
|---|
| 2 | endian := le
|
|---|
| 3 | else
|
|---|
| 4 | endian := be
|
|---|
| 5 | endif
|
|---|
| 6 |
|
|---|
| 7 | squashfs-prepare:
|
|---|
| 8 |
|
|---|
| 9 | squashfs-compile: prepare-targets
|
|---|
| 10 |
|
|---|
| 11 | squashfs-clean:
|
|---|
| 12 | rm -f $(KDIR)/root.squashfs
|
|---|
| 13 |
|
|---|
| 14 | $(KDIR)/root.squashfs: install-prepare
|
|---|
| 15 | @mkdir -p $(KDIR)/root/jffs
|
|---|
| 16 | $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -$(endian) $(MAKE_TRACE)
|
|---|
| 17 |
|
|---|
| 18 | ifeq ($(IB),)
|
|---|
| 19 | squashfs-install: compile-targets $(BOARD)-compile
|
|---|
| 20 | endif
|
|---|
| 21 |
|
|---|
| 22 | squashfs-install: $(KDIR)/root.squashfs
|
|---|
| 23 | $(TRACE) target/linux/image/$(BOARD)/install
|
|---|
| 24 | $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="squashfs"
|
|---|
| 25 |
|
|---|
| 26 | squashfs-install-ib: compile-targets
|
|---|
| 27 | mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin
|
|---|
| 28 | $(CP) $(STAGING_DIR)/bin/mksquashfs-lzma $(IB_DIR)/staging_dir_$(ARCH)/bin
|
|---|
| 29 |
|
|---|
| 30 | prepare-targets: squashfs-prepare
|
|---|
| 31 | compile-targets: squashfs-compile
|
|---|
| 32 | install-targets: squashfs-install
|
|---|
| 33 | install-ib: squashfs-install-ib
|
|---|
| 34 | clean: squashfs-clean
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.