Changeset c2a4686 in network-demos for http/Makefile
- Timestamp:
- 06/22/07 19:54:58 (15 years ago)
- Branches:
- 4.11, 57a009d5b89e72f488ab655184e6a33bb0fe6b7f, network-demos-4-10-branch, network-demos-4-8-branch, network-demos-4-9-branch
- Children:
- 07e6684
- Parents:
- 5e49d0d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
http/Makefile
r5e49d0d rc2a4686 43 43 LD_LIBS += -lhttpd 44 44 LD_LIBS += -lftpd 45 NATIVE_OBJ = $(shell $(OBJCOPY) 2>&1 | grep copy: | cut -d':' -f3 | cut -d' ' -f2) 45 #NATIVE_OBJ = $(shell $(OBJCOPY) 2>&1 | grep copy: | cut -d':' -f3 | cut -d' ' -f2) 46 OBJDUMP=$(OBJCOPY:copy=dump) 46 47 47 48 # … … 52 53 # 53 54 54 CLEAN_ADDITIONS += tarfile 55 CLEAN_ADDITIONS += tarfile obj_format 55 56 CLOBBER_ADDITIONS += 56 57 57 58 all: ${ARCH} $(SRCS) $(PGM) 58 59 59 ${PGM}: $(OBJS) $(LINK_FILES) 60 obj_format: 61 $(OBJDUMP) -f $(ARCH)/init.o | grep .o: | \ 62 sed -e 's/^.*format //' >obj_format 63 64 ${PGM}: $(OBJS) obj_format $(LINK_FILES) 60 65 cd rootfs ; tar cf ../$(ARCH)/tarfile web etc 61 66 cp $(ARCH)/tarfile . 62 $(OBJCOPY) -I binary -O $(NATIVE_OBJ) tarfile $(ARCH)/tarfile.o 63 $(LD) -r -o $(ARCH)/temp.o $(ARCH)/init.o $(ARCH)/tarfile.o 67 $(OBJCOPY) -I binary -O `cat obj_format` tarfile $(ARCH)/tarfile.o 68 $(LD) $(CPU_CFLAGS) -r -o $(ARCH)/temp.o \ 69 $(ARCH)/init.o $(ARCH)/tarfile.o 64 70 $(MV) $(ARCH)/temp.o $(ARCH)/init.o 65 71 $(RM) $(ARCH)/temp.o
Note: See TracChangeset
for help on using the changeset viewer.