Changeset 33091


Ignore:
Timestamp:
Aug 10, 2017, 3:18:10 PM (2 weeks ago)
Author:
brainslayer
Message:

fix makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/Makefile.mvebu

    r31668 r33091  
    6767#ifeq ($(ARCH),arm)
    6868#export COPTS:=$(BASEOPT) -pipe -march=armv7-a -mtune=cortex-a9  -mfloat-abi=soft -fpic
    69 export COPTS:=$(BASEOPT) -pipe -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-caller-saves -fno-plt
     69export COPTS:=$(BASEOPT) -pipe -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=vfpv3-d16 -fno-caller-saves -fno-plt
    7070#endif
    7171
     
    240240        cp ${shell $(ARCH)-openwrt-linux-gcc -print-file-name=ld-uClibc.so.0} $(ARCH)-uclibc/target/lib/ld-uClibc.so.0
    241241else
    242         cd $(ARCH)-uclibc/target/lib && ln -sf libc.so ld-musl-arm.so.1
     242        cd $(ARCH)-uclibc/target/lib && ln -sf libc.so ld-musl-armhf.so.1
    243243endif
    244244        cp ${shell $(ARCH)-openwrt-linux-gcc -print-file-name=libgcc_s.so.1} $(ARCH)-uclibc/target/lib/libgcc_s.so.1
     
    352352                -L /lib \
    353353                -L /usr/lib \
    354                 --ldlib /lib/ld-musl-arm.so.1 \
     354                --ldlib /lib/ld-musl-armhf.so.1 \
    355355                --target $(ARCH)-linux-uclibc \
    356356                `cat /tmp/$(ARCHITECTURE)/mklibs-progs` 2>&1
Note: See TracChangeset for help on using the changeset viewer.