Du hast eine neue Version von hdparm eingecheckt, hierzu hätte ich mal 2 Fragen. ;-)
1. hdparm ist schon in der busybox, hat die standalone-Version irgendwelche Vorteile gegenüber der built-in?
Code: Alles auswählen
ifdef(`ide',
`option(`CONFIG_HDPARM', `y', `y')
option(`CONFIG_FEATURE_HDPARM_GET_IDENTITY', `y', `y')',
`option(`CONFIG_HDPARM', `n', `n')
option(`CONFIG_FEATURE_HDPARM_GET_IDENTITY', `n', `n')'
)
option(`CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF', `n', `n')
option(`CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF', `n', `n')
option(`CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET', `n', `n')
option(`CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF', `n', `n')
option(`CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA', `n', `n')
Code: Alles auswählen
user@Ubuntu:~/tuxbox_2x/tuxbox-cvs/cdk$ make hdparm
( rm -rf hdparm-7.6 || /bin/true ) && gunzip -cd Archive/hdparm-7.6.tar.gz | TAPE=- tar -x && ( cd hdparm-7.6; patch -p1 < ../Patches/hdparm.diff )
patching file Makefile
cd hdparm-7.6 && \
AR=powerpc-tuxbox-linux-gnu-ar AS=powerpc-tuxbox-linux-gnu-as CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ NM=powerpc-tuxbox-linux-gnu-nm RANLIB=powerpc-tuxbox-linux-gnu-ranlib CFLAGS="-mcpu=823 -pipe -Os" CXXFLAGS="-mcpu=823 -pipe -Os" LDFLAGS="-Wl,-O1" PKG_CONFIG_PATH=/home/user/tuxbox_2x/dbox2/cdkroot/lib/pkgconfig \
make all && \
make install DESTDIR=/home/user/tuxbox_2x/dbox2/cdkroot
make[1]: Entering directory `/home/user/tuxbox_2x/tuxbox-cvs/cdk/hdparm-7.6'
powerpc-tuxbox-linux-gnu-gcc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -mcpu=823 -pipe -Os -c -o hdparm.o hdparm.c
powerpc-tuxbox-linux-gnu-gcc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -mcpu=823 -pipe -Os -c -o identify.o identify.c
powerpc-tuxbox-linux-gnu-gcc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -mcpu=823 -pipe -Os -c -o sgio.o sgio.c
powerpc-tuxbox-linux-gnu-gcc -s -o hdparm hdparm.o identify.o sgio.o
strip hdparm
strip: Unable to recognise the format of the input file `hdparm'
make[1]: *** [hdparm] Error 1
make[1]: Leaving directory `/home/user/tuxbox_2x/tuxbox-cvs/cdk/hdparm-7.6'
make: *** [.deps/hdparm] Error 2