티스토리 뷰

참고한 사이트:http://blog.naver.com/squake/20164009787

메가 소마님 감사드립니다 ㅎㅎ

정말 자세한 강좌~


http://blog.naver.com/squake/20162490596

여기 들어가면 있는 make.sh부분이 베가s가 아니라 미라크a에 맞는 부분으로 수정해야 하는대

readme파일에는 없어서 고민하던중 build_kernel.sh파일을 보니까 저 부분이 있어서 같다 붙혔습니다 ㅋㅋ


그리고 ./build_kernel.sh를 하면 커널 폴더속에 zImage가 생기는대 make.sh를 보면 합치는 명령어도 있더라고요 그래서 필요없는 부분 지우고 아에 갈아 엎었습니다 ㅋㅋ


하하;; 또 언제 컴파일 완성될까요?ㅋㅋ


아무튼 make.sh첨부합니다


사용 명령어

./make.sh menuconfig

./make.sh


빌드중...



make.sh


댓글
  • 호호 감사합니다 2016.02.19 22:29
  • Favicon of https://itmir.tistory.com Mir(whdghks913) 제가 아는 호호님 이신가요? 2016.02.19 22:29 신고
  • 호호 아닙니다 그런데 오류좀 봐주실 수 있는 지요...

    In file included from /home/kimminjun/kernel/include/linux/byteorder/little_endian.h:12:0,
    from /home/kimminjun/kernel/arch/arm/include/asm/byteorder.h:21,
    from /home/kimminjun/kernel/include/asm-generic/bitops/le.h:5,
    from /home/kimminjun/kernel/arch/arm/include/asm/bitops.h:308,
    from /home/kimminjun/kernel/include/linux/bitops.h:22,
    from /home/kimminjun/kernel/include/linux/kernel.h:19,
    from /home/kimminjun/kernel/include/linux/cache.h:4,
    from /home/kimminjun/kernel/include/linux/time.h:7,
    from /home/kimminjun/kernel/include/linux/stat.h:60,
    from /home/kimminjun/kernel/include/linux/module.h:10,
    from /home/kimminjun/kernel/net/netfilter/xt_socket.c:13:
    /home/kimminjun/kernel/net/netfilter/xt_socket.c: In function 'xt_socket_get6_sk':
    /home/kimminjun/kernel/include/linux/swab.h:49:9: warning: 'sport' may be used uninitialized in this function [-Wmaybe-uninitialized]
    /home/kimminjun/kernel/net/netfilter/xt_socket.c:277:16: note: 'sport' was declared here
    In file included from /home/kimminjun/kernel/include/linux/byteorder/little_endian.h:12:0,
    from /home/kimminjun/kernel/arch/arm/include/asm/byteorder.h:21,
    from /home/kimminjun/kernel/include/asm-generic/bitops/le.h:5,
    from /home/kimminjun/kernel/arch/arm/include/asm/bitops.h:308,
    from /home/kimminjun/kernel/include/linux/bitops.h:22,
    from /home/kimminjun/kernel/include/linux/kernel.h:19,
    from /home/kimminjun/kernel/include/linux/cache.h:4,
    from /home/kimminjun/kernel/include/linux/time.h:7,
    from /home/kimminjun/kernel/include/linux/stat.h:60,
    from /home/kimminjun/kernel/include/linux/module.h:10,
    from /home/kimminjun/kernel/net/netfilter/xt_socket.c:13:
    /home/kimminjun/kernel/include/linux/swab.h:49:9: warning: 'dport' may be used uninitialized in this function [-Wmaybe-uninitialized]
    /home/kimminjun/kernel/net/netfilter/xt_socket.c:277:9: note: 'dport' was declared here
    /home/kimminjun/kernel/net/netfilter/xt_socket.c:307:2: warning: 'saddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
    /home/kimminjun/kernel/net/netfilter/xt_socket.c:307:2: warning: 'daddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
    /home/kimminjun/kernel/net/netfilter/xt_socket.c: In function 'xt_socket_get4_sk':
    /home/kimminjun/kernel/net/netfilter/xt_socket.c:161:2: warning: 'protocol' may be used uninitialized in this function [-Wmaybe-uninitialized]
    In file included from /home/kimminjun/kernel/include/net/tcp.h:37:0,
    from /home/kimminjun/kernel/net/netfilter/xt_socket.c:17:
    /home/kimminjun/kernel/include/net/inet_hashtables.h:356:15: warning: 'sport' may be used uninitialized in this function [-Wmaybe-uninitialized]
    /home/kimminjun/kernel/net/netfilter/xt_socket.c:112:16: note: 'sport' was declared here
    In file included from /home/kimminjun/kernel/include/linux/byteorder/little_endian.h:12:0,
    from /home/kimminjun/kernel/arch/arm/include/asm/byteorder.h:21,
    from /home/kimminjun/kernel/include/asm-generic/bitops/le.h:5,
    from /home/kimminjun/kernel/arch/arm/include/asm/bitops.h:308,
    from /home/kimminjun/kernel/include/linux/bitops.h:22,
    from /home/kimminjun/kernel/include/linux/kernel.h:19,
    from /home/kimminjun/kernel/include/linux/cache.h:4,
    from /home/kimminjun/kernel/include/linux/time.h:7,
    from /home/kimminjun/kernel/include/linux/stat.h:60,
    from /home/kimminjun/kernel/include/linux/module.h:10,
    from /home/kimminjun/kernel/net/netfilter/xt_socket.c:13:
    /home/kimminjun/kernel/include/linux/swab.h:49:9: warning: 'dport' may be used uninitialized in this function [-Wmaybe-uninitialized]
    /home/kimminjun/kernel/net/netfilter/xt_socket.c:112:9: note: 'dport' was declared here
    2016.02.20 15:27
  • Favicon of https://itmir.tistory.com Mir(whdghks913) note: 'sport' was declared here

    이런게 반복되고 있습니다.
    선언이 안되어있다는 건데 이부분을 구글링 해보셔야 할듯 합니다.
    2016.02.20 18:15 신고
댓글쓰기 폼