diff options
Diffstat (limited to 'packages/wrt')
-rw-r--r-- | packages/wrt/wrt-init.bb | 4 | ||||
-rw-r--r-- | packages/wrt/wrt-utils.bb | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/wrt/wrt-init.bb b/packages/wrt/wrt-init.bb index bae51c6816..b3ea137f1a 100644 --- a/packages/wrt/wrt-init.bb +++ b/packages/wrt/wrt-init.bb @@ -8,12 +8,12 @@ do_install() { install -d ${D}${sysconfdir}/rcS.d \ ${D}${sysconfdir}/rc2.d \ ${D}${sysconfdir}/init.d - + install -m 0755 ${WORKDIR}/mount ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/wrtboot ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/wrtvlans ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/finished ${D}${sysconfdir}/init.d - + ln -s ../init.d/mount ${D}${sysconfdir}/rcS.d/S05mount ln -s ../init.d/wrtboot ${D}${sysconfdir}/rcS.d/S10wrtboot ln -s ../init.d/wrtvlans ${D}${sysconfdir}/rcS.d/S30wrtvlans diff --git a/packages/wrt/wrt-utils.bb b/packages/wrt/wrt-utils.bb index d1cd4c9cc5..42a7460412 100644 --- a/packages/wrt/wrt-utils.bb +++ b/packages/wrt/wrt-utils.bb @@ -15,11 +15,11 @@ TARGET_CFLAGS =+ "-I${STAGING_KERNEL_DIR}/include" do_compile() { make -C libshared TARGET_CC="${CC}" make -C libnvram TARGET_CC="${CC}" - + ${CC} ${CFLAGS} -Iinclude -o wlc wlc.c -L./libshared -lshared ${CC} ${CFLAGS} -o jffs2root jffs2root.c ${CC} ${CFLAGS} -o mtd mtd.c - + make -C ../linksys-wlconf TOP=${S} SRCBASE=${S} LDFLAGS="-L${S}/libnvram -lnvram -L${S}/libshared -lshared" ${KERNEL_CC} -D__KERNEL__ -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 \ @@ -34,11 +34,11 @@ do_install() { install -m 644 libshared/libshared.so ${D}/${libdir} install -m 755 libnvram/nvram ${D}/usr/sbin/ install -m 644 libnvram/libnvram.so ${D}/${libdir} - + install -m 755 wlc ${D}/usr/sbin/ install -m 755 jffs2root ${D}/sbin/ install -m 755 mtd ${D}/sbin/ - + install -m 755 ../linksys-wlconf/wlconf ${D}/usr/sbin/ install -m 644 wlcompat.o ${D}/lib/modules/${KERNEL_VERSION}/ } |